Change the "stroke" color of the bar based on different values #2813
Unanswered
rdbcasillas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a bar graph where I want to change the color of the stroke based on value in the data (similar to how one would do for "colors" option). Is this possible? I have tried multiple formats but nothing seems to work. I was hoping for something like this:
Currently, I am passing an array to the colors key within the stroke option. Unfortunately, apex is only using the first value in the array for all the bars.
I have confirmed via console.log that
this.strokecolors
has all the values when the bar graph component gets mounted.Beta Was this translation helpful? Give feedback.
All reactions