Home forums Using CanvasJS Auto changing color

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

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

    celtas6655
    Member

    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.

    Thanks

    #16041

    Indranil Deo
    Member

    @celtas6655,

    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.