Required library edition:
Required library file: dhtmlxchart .js
Removes an item by its ID and redraws a chart.
/*item with id = 12*/ chart.remove(12); /*the 6th item in a chart*/ chart.remove(chart.idByIndex(5)); /*the 1st item*/ chart.remove(chart.first());