remove([Boolean updateChart = true])

Removes specified stripLine from stripLines Array.

Parameters:
        updateChart: When true, updates the chart automatically after removing stripline. Defaults to true.

Example:
        chart.axisX[0].stripLines[1].remove();
Note:
  • Chart should be rendered before you can use this method.
var  chart = new  CanvasJS.Chart("container",
{
     .
     .
     .
});
chart.render();

chart.axisX[0].stripLines[1].remove();
Try Editing The Code

  Also See:    


If you have any questions, please feel free to ask in our forums.Ask Question