DHTMLX Docs & Samples Explorer

clearAll()

clears all chart's contents - removes all projects and tasks

    ganttChart.clearAll();