Replies: 1 comment 2 replies
-
Generally, this isn't a use case that's seen. Instead the colors are always the same for each series (each Bar). I think you should still be able to accomplish this using Cell though |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I use consistent coloring for each stacked bar in my chart like so?
Basically, each bar should start with the first color, and then use subsequent colors. If there's more elements than unique colors, we just start using the first color and so on.
I thought this was a pretty common use case but the closest I could find was
#4278 which talks about setting color based off of data. In my case, we don't care about the data in a cell, just the sequence of each cell (is it the first cell? -> use color 1; is it the second cell, use color 2, etc)
Beta Was this translation helpful? Give feedback.
All reactions