getValsForTouch method
Returns a recyclable MPPointD instance. Returns the corresponding xPos for a given touch-position in pixels.
@param x @param y @return
Implementation
MPPointD getValsForTouch(double x, double y) {
// take any transformer to determine the x-axis value
MPPointD pos = _provider!
.getTransformer(AxisDependency.left)!
.getValuesByTouchPoint1(x, y);
return pos;
}