Get the correct position of a point in AndroidPlot
I am trying to get the pixel position of a values in my AndroidPlot, but I can't get it to work. The idea is to place the cursor at the exact point showed on the plot, at specific terms. Did any of you encounter/solve a similar problem? Regards Jesper I don't know if there's a better built-in solution, but here's a manual approach. The following code places the cursor at the X coordinate where the user touched the screen and the corresponding Y coordinate of the first data series of the plot. //NOTE about XYPlotZoomPan: when an OnTouchListener is set, zooming is disabled. Subclass to avoid it.