getPosition method
Pixel position of an entry inside the view: its y value along the width and its x value along the height.
Implementation
@override
MPPointF? getPosition(Entry? e, AxisDependency axis) {
if (e == null) return null;
final vals = _positionBuffer;
vals[0] = e.y;
vals[1] = e.x;
getTransformer(axis).pointValuesToPixel(vals);
return MPPointF(vals[0], vals[1]);
}