You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not work, I also tried passsing it as a single array chartColors: ['e5e5e5', '7a86cc', '4ed1e1', '83c786', '7a86cc'] but that does not work either. The second series always picks up the color at index 1('7a86cc') and that color remains for the whole series.
Is this currently supported? And if yes how do i pass the chartColors for it? I couldn't find any relevant documentation for this specific use-case. Thanks!
The text was updated successfully, but these errors were encountered:
divyansh997
changed the title
[FEATURE]
Coloring bars different colors when plotting 2 series
Dec 15, 2022
divyansh997
changed the title
Coloring bars different colors when plotting 2 series
[Question]Coloring bars different colors when plotting 2 series
Dec 15, 2022
From my understanding, if you have only 1 series then each color of the chartColors represents each data item of that series. If you have more than 1 series, then each color of the chartColors represents all data items of that series.
I also have a use case where I would like to choose different colors within each of my series. Is there any update on this?
Issue Category
Product Versions
Desired Behavior
When plotting two series bar charts, how do I color the bars individually of different colors?
What I want to achieve is this -
I have achieved this -
Steps to Reproduce
I tried coloring the bars individually by passing in two arrays inside an array for param
chartColors
like so -This does not work, I also tried passsing it as a single array
chartColors: ['e5e5e5', '7a86cc', '4ed1e1', '83c786', '7a86cc']
but that does not work either. The second series always picks up the color at index1
('7a86cc') and that color remains for the whole series.Is this currently supported? And if yes how do i pass the
chartColors
for it? I couldn't find any relevant documentation for this specific use-case. Thanks!The text was updated successfully, but these errors were encountered: