Numbers with Percent symbol

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 emil on 12th August 2013
Hi, is there a way to show a line chart if the numbers feeding it have percent(%) symbol after it? Thanks.
Posted by RGraph support on 12th August 2013
Hi there,

You'll need to convert them to numbers when you give them to the Line chart object. eg:

obj = new RGraph.Line('cvs', [45,56,12,35,75,78,98]);

but you can then set the option that applies to the scale:

obj.Set('', '%');

Richard, RGraph Support

Help support RGraph - single site license only £99

Add a reply

« Back to message list