getHighlightByTouchPoint method
Returns the Highlight object (contains x-index and DataSet index) of the selected value at the given touch point inside the Line-, Scatter-, or CandleStick-Chart.
@param x @param y @return
Implementation
Highlight? getHighlightByTouchPoint(double x, double y) {
if (_data == null || highlighter == null) {
return null;
} else {
return highlighter!.getHighlight(x, y);
}
}