trackballInfo method
Implementation
@override
TrackballInfo? trackballInfo(Offset position) {
if (segmentRect != null) {
final CartesianChartPoint<D> chartPoint = _chartPoint();
return ChartTrackballInfo<T, D>(
position: segmentRect!.center,
point: chartPoint,
series: series,
pointIndex: currentSegmentIndex,
seriesIndex: series.index,
);
}
return null;
}