Home forums Using CanvasJS multiple striplines on same axis

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

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


    I’m trying to figure out how to display multiple striplines on the same axis.

    The documentation states: Strip Lines can be displayed using AxisX or AxisY’s stripLines array. This allows you to have one or more strip lines on both x & y axis.

    One line is easy enough (thanks to the examples), but all of my attempts to add additional lines have been unsuccessful.

    Thank you for your time and a great product.



    In CanvasJS stripLines is an array in which you can pass multiple objects which create multiple strip line on same axis. You can check here for Example: http://jsfiddle.net/anjalij/P5wVq/12/
    Please let me know if either it is works for you or if you face any problem.

    • This reply was modified 2 years, 3 months ago by  Anjali.


    Thanks, Anjali.

    Works great.

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

You must be logged in to reply to this topic.