DHTMLX Docs & Samples Explorer

Index
dhtmlxchart
API Methods

## remove (id)

Required library edition:

Required library file: dhtmlxchart .js

adds the new data object and redraws a chart

- id - item id

        /*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());