Skip to content

charton API


charton API / @chart-on/ui / index / downloadData

Function: downloadData() ​

downloadData(options?): ToolbarItemLayout & ToolbarItemWatch & ToolbarItemText & object

Defined in: ui/src/toolbar-presets.ts:366

Button in the view group that downloads the chart's data as CSV (chart.getDataTable and toCSV), with ISO dates and times in the chart timezone so spreadsheets read them as dates.

Parameters ​

options? ​

DownloadDataPresetOptions = {}

Returns ​