Home Forums Chart Support canvasjs-chart-toolbar menu dom Reply To: canvasjs-chart-toolbar menu dom

#43772

@xmanhattan,

You can get the chart toolbar reference using document.getElementsByClassName("canvasjs-chart-toolbar")[0]. You can add extra options like ‘Export as PDF’ or pass url under it to the obtained toolbar reference. Also, please take a look at this JSFiddle for an example where “Export as CSV” feature is added to the toolbar.

Export Multi-Series Chart data as CSV

—-
Manoj Mohan
Team CanvasJS