My numbers have a percent symbol after them

« 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

Add a reply

« Back to message list