Hide/show Series In Achartengine
I have a dataset with 10 series in a Linechart. I need to hide a serie when user click a button, and show it when user clicks again. Is this possible with Achartengine. Thanks.
Solution 1:
One simple way is that you can set the renderer series color to "Color.TRANSPARENT", that's a 'pseudo' hiding. However, you may need to adjust the scale if you have some extreme figures.
A more complicated way would be using removeSeries() to remove all the current series and add the necessary one back to it again.
Post a Comment for "Hide/show Series In Achartengine"