Home › forums › Using CanvasJS › Plotting X axis with different Colours
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 2 years, 7 months ago.
Is it possible to plot X axis with different colours. For example, x axis values from 0-99 in red, values from 100-199 in green, values from 200-399 in orange colour?
If you are using column or bar chart types, you can set color to multiple dataSeries . Here is an example. And if it is for line chart, you can set multiple dataSeries as shown in this example to achieve it
You must be logged in to reply to this topic.