Skip to main content

ChartExporterOptions

Options for a chart export menu.

Properties

filename?

optional filename: string

Optional filename to use when exporting this chart. If not provided, a filename (with maximum length 30 characters) will be created from the chart's title, if it has one. Otherwise chart-export will be the filename.


optional right: string

Placement respective to right edge of the chart. Any valid CSS dimension works. Default is 1rem.


top?

optional top: string

Placement respective to top edge of the chart. Any valid CSS dimension works. Default is 1rem.