ChartsToolbarImageExportTrigger API
API reference docs for the React ChartsToolbarImageExportTrigger component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { ChartsToolbarImageExportTrigger } from '@mui/x-charts-pro/ChartsToolbarPro';
// or
import { ChartsToolbarImageExportTrigger } from '@mui/x-charts-pro';
Learn about the difference by reading this guide on minimizing bundle size.
A button that triggers an image export.
It renders the baseButton
slot.
Name | Type | Description |
---|---|---|
options | { fileName?: string, quality?: number, type: string } | The options to apply on the image export. |
render | element | func | A function to customize the rendering of the component. |
The component cannot hold a ref.
Source code
If you did not find the information in this page, consider having a look at the implementation of the component for more detail.