tooltipBehavior property

TooltipBehavior? tooltipBehavior
final

Customizes the tooltip in chart.

late TooltipBehavior _tooltipBehavior;

@override
void initState() {
  _tooltipBehavior = TooltipBehavior(enable: true);
  super.initState();
 }

Widget build(BuildContext context) {
    return Container(
        child: SfCartesianChart(
            tooltipBehavior: _tooltipBehavior
          )
     );
}

Implementation

final TooltipBehavior? tooltipBehavior;