Home forums Using CanvasJS Not able to display striplines in multiple axisX

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 2 months, 2 weeks ago.

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

    Ryan
    Member

    I have create array of axisX.
    Both of them have striplines.
    from jsfiddle you can see, we can only display striplines from axisX[0] but not axisX[1]

    https://jsfiddle.net/QwZuf/2300/

    #22430

    Vishwas R
    Keymaster

    Ryan,

    Stripline added to second axisX is not displayed as second axisX doesn’t have any range (minimum and maximum of the axis). In case of multiple axes, axis will have it’s range when either dataSeries is attached to the axis or range is defined. You can set range of second axisX to be same as first axisX using get and set methods as shown in this updated JSFiddle.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.