Jump to content

Change bar colour in HTML5 Chart


Recommended Posts

Hey guys,


I have a HTML5 bar chart, and i am changing its bar colors based on a variable that gets evaluated per group. And this variable output is a color if a field value is greater than 30. The issue is that my graph at the end has all bars with the same color.

This is the group header result (the HEX number is the colour


And the bar chart result is this (please note that the HEX color is on the message on top of the bar)


And the next line on the same bar chart


The variable is change per bar, but apparently the chart gets "Painted" after all the bars are create, so the last variable value stays.


Does anybody know a way around this?



Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...