Home › Forums › Chart Support › stripLines live access › Reply To: stripLines live access
@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.
chart.axisX[0].stripLines.push(stripLines);
chart.options.axisX[0].stripLines.push(stripLines);
___ Suyash Singh Team CanvasJS