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

Share RGraph:   Share or Like RGraph on Facebook!

« 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
Hi,

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

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

Richard

Add a reply




« Back to message list