getEntryByTouchPoint method
returns the Entry object displayed at the touched position of the chart
@param x @param y @return
Implementation
Entry? getEntryByTouchPoint(double x, double y) {
Highlight? h = getHighlightByTouchPoint(x, y);
if (h != null) {
return getData()!.getEntryForHighlight(h);
}
return null;
}