enableTooltip property Null safety

bool enableTooltip
final

Enables or disables the tooltip for this series. Tooltip will display more details about data points when tapping the data point region.

Defaults to true.

Widget build(BuildContext context) {
  return SfCartesianChart(
    tooltipBehavior: TooltipBehavior(enable: true),
    series: <BubbleSeries<BubbleColors, num>>[
      BubbleSeries<BubbleColors, num>(
        enableTooltip: false,
      ),
    ],
  );
}

Implementation

final bool enableTooltip;