enableTrackball property

bool enableTrackball
final

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

Defaults to true.

 Widget build(BuildContext context) {
  return SfCartesianChart(
    trackballBehavior: TrackballBehavior(
      enable: true,
    ),
    series: <CartesianSeries<_SalesData, String>>[
      LineSeries<_SalesData, String>(
        enableTrackball: false,
      ),
    ],
  );
}

Implementation

final bool enableTrackball;