I am using achartengine to display line graphs.And i am stuck at trying to get the coordinates of a point on touch (not the coordinates on the line graph but anywhere in the graph area). so i think getSeriesAndPointForScreenCoordinate(...) wont help in this case.
Any suggestions?
try using this code :
myXYPlot.setOnTouchListener(new OnTouchListener() {
where displaycoordinates() is defined below:
If you have the screen coordinates point then you can just call
chartView.toRealPoint()
in order to get the real data coordinate values.