removes an item by its ID and redraws a chart.
id | number | item id |
// item with id = 12
myChart.remove(12);
// the 6th item in a chart
myChart.remove(myChart.idByIndex(5));
// the 1st item
myChart.remove(myChart.first());
Back to top