charton API / @chart-on/core / index / CsvExportOptions
Interface: CsvExportOptions
Defined in: packages/core/src/export.ts:109
How toCSV writes the first (time) column.
Properties
time?
optionaltime?:"unix"|"iso"| ((time) =>string)
Defined in: packages/core/src/export.ts:115
'unix' (default): unix seconds. 'iso': the wall-clock date and time in timezone as YYYY-MM-DD HH:mm:ss, which spreadsheets read as a date. A function returns the text itself; it is escaped like any text cell.
timezone?
optionaltimezone?:string
Defined in: packages/core/src/export.ts:117
IANA timezone, or 'local', for time: 'iso'. Default 'UTC'.