DHTMLX Docs & Samples Explorer

getXML()

returns XML string representation of the chart content

    var xml = ganttChart.getXML();