Pie chart colors don't match with pie1 pie2 theme colors #5314
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
Here is an example, the colors do not match.
For some reason, the labels get sorted from largest to smallest.
I actually would prefer that sorting/re-ordering does not happen or be optional via the config. The doc leads me to thing this should not be re-sorted by value:
Pie slices will be ordered clockwise in the same order as the labels.
cf https://mermaid.js.org/syntax/pie.html#syntaxMay be related to #4774
Steps to reproduce
Plot the provided pie chart and observe the mismatch in label/colors.
Screenshots
Code Sample
Setup
No response
Suggested Solutions
Make the pie1 pie2 etc match the order of the config.
Additionally, Don't reorder, or make it optional.
Additional Context
No response
The text was updated successfully, but these errors were encountered: