Home Forums Chart Support Stripline Reply To: Stripline



You can use the axis addTo method to add stripLines dynamically on click. To remove the same you can use the remove method of stripLines as shown in the code snippet below –

Adding stripLines –
chart.axisX[0].addTo("stripLines", {value: 50, showOnTop: true});

Removing stripLines –

Adding StripLine Dynamically

Indranil Deo
Team CanvasJS