Set different decimal places for different bar in bar chart

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Mukesh Konde on 24th June 2014
I am using RGraph library to draw bar chart. In this I want to set different decimal places for different bar labels. Currently I am using 'labels.above.decimals' property of graph but this property apply to all bars. Please help me is their any option to solve this problem.
Posted by Richard on 24th June 2014
There's no setting - though you could use the drawing API text object in conjunction with the Bar chart obj.coords property to render each of text separately (instead of using the Bar chart labels.above property.

This would slow canvas based effects (that redraw the canvas) - though CSS based effects will be fine.




Richard

Add a reply




« Back to message list