The labelsIngraph option in Pie Charts displays values which we assign to data even though we assign some different values.

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 Nevi on 6th October 2015
Even though I specify values to labelsIngraph like below

labelsIngraph: ['Completed','Pending','Hold']

pie chart display the values which I assigned to data (var data = [4,8,3];)
Is there a way to change this?
Posted by Richard on 6th October 2015

labelsIngraph is a boolean and the property that contains the labels is labelsIngraphSpecific:

labelsIngraph: true,
labelsIngraphSpecific: ['Completed','Pending','Hold']

If RGraph has helped you - please share the website and give your feedback - thanks! You can give your feedback or leave a testimonial by adding a forum post

Add a reply

« Back to message list