getClosetHighlightPoints method
Implementation
List<HighlightPoint> getClosetHighlightPoints(double horizontalDragPosition) {
List<HighlightPoint> highlights = [];
seriesMap!.forEach((key, list) {
HighlightPoint closest = _findClosest(list, horizontalDragPosition);
highlights.add(closest);
});
return highlights;
}