removeAllSeries of ui.chart, Methods Webix Docs
removes all series from the chart
void removeAllSeries();
Example
$$("mygantt").removeAllSeries();
Details
Can be used, if you want to define different set of series for the same chart
If you have not checked yet, be sure to visit site of our main product Webix open source html5 framework and page of javascript graph library product.