Home › forums › Using CanvasJS › Plotting X axis with different Colours
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.