Open twey2 opened 8 months ago
The color scheme is taken from maelstrom colors. The first graphic element will always be green, then the second yellow, the third is red, and then blue. Any additional will be picked from the rest of the palette (which is linearised and picked randomly.
unfortunatelly, sometimes the color chosen in the palette are not realy different from each other. that will be evaluated in the next version
Ok. Instead of picking randomly, why not just recycle the color vector to whatever length, so that the fifth element is always green, the sixth yellow, and so on?
When the there are more than 4 colors, the same color (blue) gets used for the last categories (green, yellow, red, blue, blue). Either use different colors, or recycle colors but starting at green again, so 5 categories displays as green, yellow, red, blue, green.