segmentAt method
Implementation
@override
ChartSegment segmentAt(int segmentPointIndex) {
return segments.firstWhere((ChartSegment segment) =>
segment.currentSegmentIndex == segmentPointIndex);
}
@override
ChartSegment segmentAt(int segmentPointIndex) {
return segments.firstWhere((ChartSegment segment) =>
segment.currentSegmentIndex == segmentPointIndex);
}