Home forums Using CanvasJS How to change bar chart colour based on condition?

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 1 month, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26119

    hello, is there any way that I can change the bar color based on condition. For an example, if the bar exceed 30, the bar colour will be green and if it is below 30, the bar colour will be red

    #26123

    @nazrime,

    Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.