dataPointIndex method
Implementation
@override
int dataPointIndex(Offset position, ChartSegment segment) {
final int segPointIndex = segmentPointIndex(position, segment);
if (segPointIndex != -1) {
return actualPointIndex(segPointIndex);
}
return segPointIndex;
}