Can I stop the Pie chart from sorting the data?

Post a reply

Posted by Dee at 13:42 on Wednesday 23rd August 2023 [link]
Hey, i have a question

i see the pie graph is sorting the data and assigning the color by the data, is there a way to change it? so that the colors array will be alignd by the labels array? its making a mess....


Posted by Richard at 13:46 on Wednesday 23rd August 2023 [link]
The RGraph Pie chart doesn't sort the data for you - it just plots it as you supply it. Here's an example that hopefully illustrates that:

Posted by Dee at 13:49 on Wednesday 23rd August 2023 [link]
My bad, thanx for the great graphs!

Post a reply

What's your name?
What do you want to say?