Home Forums Chart Support Stripline Reply To: Stripline

#35641

@malvika,

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 –
chart.axisX[0].stripLines[1].remove();

Adding StripLine Dynamically

___________
Indranil Deo
Team CanvasJS