yuxinburen / achartengine

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

Setting startAngle negative creates problems for insideAngle #308

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a pie chart, set the startAngle to -90
2. Add a click listener.
3. Tap on the first pie slice (in the 0-90 degrees angle range).

What is the expected output? What do you see instead?
chartView.getCurrentSeriesAndPoint() returns null, no slice is matched.

Please provide a source code snippet that we can use to replicate the issue.

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

Please provide any additional information below.
Simple workaround is to use positive startAngle, ie 270 instead of 90

Original issue reported on code.google.com by ionut.bilica@gmail.com on 24 May 2013 at 10:59

GoogleCodeExporter commented 9 years ago
last line should read ie 270 instead of -90

Original comment by ionut.bilica@gmail.com on 24 May 2013 at 11:00

GoogleCodeExporter commented 9 years ago
Set angle to 270 works :) , but this issue still need to fix

Original comment by anh.cuon...@gmail.com on 10 Sep 2013 at 3:57

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 31 Oct 2013 at 8:00