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....
thanks
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: