wangyao5 / achartengine

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

[Feature request/Enhancement] Missing renderer.addYTextValue() to set custom Y-Axis labels #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A combination of:

renderer.setXLabels(0);
renderer.addTextLabel();

has been suggested in the discussion group if one needs to set custom X-Axis 
labels. This is useful if one needs to set formatted values as labels.

While renderer.addTextLabel() is bound to the X-Axis it seems that there is no 
corresponding method to set custom formatted values to the Y-Axis labels.

May I ask for these enhancements:

1.) Add renderer.addYTextLabel(double x, java.lang.String text);

2.) Add renderer.addXTextLabel(double x, java.lang.String text); --> map to 
renderer.addTextLabel();

Many thanks in advance.
HJW

Original issue reported on code.google.com by hawiko...@googlemail.com on 26 Mar 2011 at 8:51

GoogleCodeExporter commented 9 years ago
I would like to add another point if both additions would be developed:

3.) Mark renderer.addTextLabel as deprecated in the docs then.

Thanks.
HJW

Original comment by hawiko...@googlemail.com on 27 Mar 2011 at 8:08

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 30 Mar 2011 at 8:02

GoogleCodeExporter commented 9 years ago
Fixed in SVN, rev. r145.

Original comment by dandrome...@gmail.com on 13 Apr 2011 at 4:39