getEntryByTouchPoint method
Entry nearest to a pixel position, or null when there is no data or no entry within maxHighlightDistance.
Implementation
Entry? getEntryByTouchPoint(double x, double y) {
final h = getHighlightByTouchPoint(x, y);
if (h == null) return null;
return data?.getEntryForHighlight(h);
}