Page 1 of 1

Suggestion: format y-Axis Display Values

Posted: Mon Feb 23, 2009 1:21 pm
by andyh1234
Hi Malte,

Just a suggestion, it would be good if there was a flag we could set to format the Y axis values, like you can do with the X axis.

We have a chart that is drawing and its putting up values like 438.24 in the y axis. Its possible these items are in the data as its generated from a database, but for the display of the y axis it would be good if we could simply format the text, in this case to apply rounding etc just to keep it neat.

If they are in the data I guess I could add a script to pre-analyze the data returned from the database, but it would be neat if it was an option in the chart control.

Just an idea!



Posted: Mon Feb 23, 2009 9:17 pm
by malte
hi andy,

for rounding you can set the charts["gridYNumberFormat"] this is compatible with revolutions numberformat property. If converting for the y-labels is desired, that one should be rather trivial to implement. I will put that on todo for 1.1. I am still collecting things that I want to improve in that version, so it will be a couple of days before I start working on it. If you have more suggestions, please keep them coming!

All the best,


Posted: Tue Feb 24, 2009 2:01 am
by andyh1234
Thanks Malte!


Posted: Thu May 07, 2009 11:14 am
by malte
Done in 1.0.4