PDA

View Full Version : [OPEN] [CLOSED]Chart Numeric Axes label customization



margozzi
24 Feb 2011, 10:41 AM
For a numeric axis, it would be nice to allow users to customize the labels. See the attachments for an example. Ether the charts could be set up to handle units ( MB/s ) and number formatting. Or at the very least give us a formatting option where we get passed the numeric value and we return a formatted string for the value.

Current axis labeling:
24838


Desired axis labeling:
24837

Jamie Avins
24 Feb 2011, 11:01 AM
You can set a renderer for the labels where you can change it to whatever function you wish (defaults to just returning the value).

margozzi
24 Feb 2011, 11:02 AM
I did not see that option in the Docs or in the source code. Could you please give me a pointer?