Home › forums › Using CanvasJS › Auto changing color
Tagged: color, Column, data, data color, php
This topic contains 1 reply, has 2 voices, and was last updated by Indranil Deo 2 months, 1 week ago.
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.
You can use the color property available in CanvasJS. Please take a look at this example.
You must be logged in to reply to this topic.