Home Forums Chart Support Remove a data point Reply To: Remove a data point

#43131

@ispybadguys,

You can remove a datapoint from the chart by using the array shift() method as shown in the code snippet below:

chart.options.data[0].dataPoints.shift();
chart.render();

Please check this JSFiddle for a working example.


Thangaraj Raman
Team CanvasJS