Android Achartengine Setdisplaychartvalues Crashes App
I just want to display the Y values right above the chart line, I found that the method to do this is setting setDisplayChartValues to true. However when I use it the app crashes w
Solution 1:
I suggest you upgrade to the latest 1.1.0 release as this issue has been fixed a while ago. You can download the version here.
Solution 2:
It's a strange issue, but adding data to your TimeSeries
out of order will cause this. I used a TreeMap
to mimic the TimeSeries
. Then, just iterate through the keys of your sorted TreeMap
and add the data to the TimeSeries
that way.
Post a Comment for "Android Achartengine Setdisplaychartvalues Crashes App"