# Source: https://mui.com/x/api/charts/chart-print-export-options.md

# ChartPrintExportOptions API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Print export](https://mui.com/x/react-charts/export/#print-export-as-pdf)

## Import

```jsx
import { ChartPrintExportOptions } from '@mui/x-charts-pro'
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| copyStyles | `boolean` | `true` | No |  |
| fileName | `string` | `The title of the document the chart belongs to` | No |  |
| nonce | `string` | - | No |  |
| onBeforeExport | `(iframe: HTMLIFrameElement) => Promise<void> \| void` | - | No |  |

> **Note**: The `ref` is forwarded to the root element.