Home forums Using CanvasJS Change Background based on ranges on x axis

This topic contains 2 replies, has 2 voices, and was last updated by  aggaton 2 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #13062

    Is there a way to change the background of a chart based on a range of values on the x axis. I know an area chart could probably be used, but seems like a heavy handed solution if there already were an easier solution.


    You can use stripLines to achieve this. Check this example.


    Thank you, that works nicely, exactly was I was after.

    • This reply was modified 2 years, 7 months ago by  aggaton.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.