tooltipSettings property

InteractiveTooltip tooltipSettings
getter/setter pair

Customizes the trackball tooltip.

late TrackballBehavior trackballBehavior;

void initState() {
  trackballBehavior = TrackballBehavior(
    enable: true,
    canShowMarker: false
  );
  super.initState();
}

Widget build(BuildContext context) {
  return SfCartesianChart(
    trackballBehavior: trackballBehavior
  );
}

Implementation

InteractiveTooltip tooltipSettings;