tooltipDisplayMode property
final
Display mode of tooltip. By default, tooltip of all the series under the current point index value will be shown.
Defaults to TrackballDisplayMode.floatAllPoints
Also refer TrackballDisplayMode
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
trackballBehavior: TrackballBehavior(
enable: true,
tooltipDisplayMode: TrackballDisplayMode.floatAllPoints
),
));
}
Implementation
final TrackballDisplayMode tooltipDisplayMode