ibrahimsaputra / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

GraphicalView onClickListener only works for orientation HORIZONTAL #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. using the demo app in XYChartBuilder.java in OnCreate() add
    mRenderer.setOrientation(Orientation.VERTICAL); to the various mRenderer settings.
2. Run the app, and add a few points in Embedded Chart Builder
3. Click/tap the points and see the (wrong) results

What version of the product binary library are you using?
0.7.0

Please provide any additional information below.
According to me in GraphicalView.java method onTouchEvent oldX and oldY have to 
be
swapped in the case of orientation VERTICAL.

Original issue reported on code.google.com by tvoverb...@gmail.com on 7 Sep 2011 at 1:17

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 13 Jun 2012 at 11:43