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 3 years, 7 months ago.

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

    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

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

You must be logged in to reply to this topic.