Check documentation for the latest version of dhtmlxSuite remove DHTMLX Docs

remove

removes an item by its ID and redraws a chart.

void remove(number id);
idnumberitem id

Example

// 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