Skip to content

ChartExcelExportOptions API

Extended documentation for the ChartExcelExportOptions interface with detailed information on the module's properties and available APIs.

Demos

Import

import { ChartExcelExportOptions } from '@mui/x-charts-premium'


The options to apply on the Excel export.

Properties

Optional

If false, the formulas in the cells will not be escaped.
It is not recommended to disable this option as it exposes the user to potential CSV injection attacks.
See https://owasp.org/www-community/attacks/CSV_Injection for more information.

Type:boolean

Default:true


Optional

The name of the file without the extension.

Type:string

Default:The title of the document the chart belongs to


Optional

If true, a formatted* column is added next to each value, using the series valueFormatter.

Type:boolean

Default:false


Optional

If true, a header row is written on each sheet.

Type:boolean

Default:true


Optional

If true, series and items hidden through the legend are exported.

Type:boolean

Default:true