enableTooltip property

  1. @override
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.

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

Implementation

@override
final bool enableTooltip;