gorteganesh / achartengine

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

Custom X labels don't get cleared #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a chart
2. Add some X labels (addTextLabel)
3. clear the labels (setXLabels(0))
4. add different X labels (addTextLabel)
5. Create an updated chart

The old labels will still be there.  They still exist in "mXTextLabels" hashmap.

What is the expected output? What do you see instead?

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

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

Please provide any additional information below.

Original issue reported on code.google.com by matth...@gmail.com on 22 Feb 2011 at 9:18

GoogleCodeExporter commented 9 years ago
Added a clearTextLabels() method for this.
Fixed in SVN rev. r143.

Original comment by dandrome...@gmail.com on 3 Mar 2011 at 4:55

GoogleCodeExporter commented 9 years ago
You rock...

Original comment by matth...@gmail.com on 3 Mar 2011 at 4:59