Home forums Using CanvasJS stripLines live access Reply To: stripLines live access

#19306

Suyash Singh
Moderator

@Wojciech,

Changing chart.axisX[0].stripLines.push(stripLines); to chart.options.axisX[0].stripLines.push(stripLines); should work fine in your case. Also, you can use addTo method to add stripLines dynamically.

___
Suyash Singh
Team CanvasJS