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 1 month ago.

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

    aggaton
    Member

    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.

    #13064

    Vishwas R
    Keymaster

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

    #13145

    aggaton
    Member

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

    • This reply was modified 1 month ago by  aggaton.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.