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 4 months, 3 weeks ago.
I have create array of axisX.
Both of them have striplines.
from jsfiddle you can see, we can only display striplines from axisX but not axisX
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.
You must be logged in to reply to this topic.