visibleSegmentAt method
Implementation
ChartSegment? visibleSegmentAt(Offset position) {
for (final ChartSegment segment in segments) {
if (segment.contains(position)) {
return segment;
}
}
return null;
}
ChartSegment? visibleSegmentAt(Offset position) {
for (final ChartSegment segment in segments) {
if (segment.contains(position)) {
return segment;
}
}
return null;
}