Home forums Using CanvasJS Auto changing color

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 1 year, 5 months ago.

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


    Hi, I would like to ask if there’s a way to change the color of the data to green if it is higher than, for example 80%, and if it is not, the color would be red.
    I use PHP column chart.



    Indranil Deo


    You can use the color property available in CanvasJS. Please take a look at this example.

    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.