How to know what colors are used in a particular chart? #2614
Answered
by
plouc
scio-cypher
asked this question in
Q&A
-
This could be a dumb question, apologies in advance! Ex. There's a pie chart with 4 slices and I'm not giving any colors to it so nivo assigns a color to each slice.
Thank you for all your help! |
Beta Was this translation helpful? Give feedback.
Answered by
plouc
Jul 3, 2024
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
scio-cypher
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default it uses the nivo scheme, and it's a categorical color scheme, meaning it'll assign colors to each slice in order of appearance, maybe it's clearer with this screenshot:
You can access the scheme colors like this:
Regarding the bar chart, it's almost the same logic, but then it also depends on grouping.