[object Promise]

# ChartsToolbarImageExportTrigger API

## Demos

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

- [Charts - Toolbar](/x/react-charts/toolbar/)

## Import

```jsx
import { ChartsToolbarImageExportTrigger } from '@mui/x-charts-pro/ChartsToolbarPro';
// or
import { ChartsToolbarImageExportTrigger } from '@mui/x-charts-pro';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| disabled | `bool` | - | No |  |
| id | `string` | - | No |  |
| options | `{ copyStyles?: bool, fileName?: string, nonce?: string, onBeforeExport?: func, onStylesheetError?: func, pixelRatio?: number, quality?: number, type: string }` | - | No |  |
| render | `element \| func` | - | No |  |
| size | `'large' \| 'medium' \| 'small'` | - | No |  |
| tabIndex | `number` | - | No |  |

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

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarImageExportTrigger.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarImageExportTrigger.tsx)

# ChartsToolbarPrintExportTrigger API

## Demos

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

- [Charts - Toolbar](/x/react-charts/toolbar/)

## Import

```jsx
import { ChartsToolbarPrintExportTrigger } from '@mui/x-charts-pro/ChartsToolbarPro';
// or
import { ChartsToolbarPrintExportTrigger } from '@mui/x-charts-pro';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| disabled | `bool` | - | No |  |
| id | `string` | - | No |  |
| options | `{ copyStyles?: bool, fileName?: string, nonce?: string, onBeforeExport?: func, onStylesheetError?: func }` | - | No |  |
| render | `element \| func` | - | No |  |
| size | `'large' \| 'medium' \| 'small'` | - | No |  |
| tabIndex | `number` | - | No |  |

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

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.tsx)

# ChartsToolbarPro API

## Demos

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

- [Charts - Toolbar](/x/react-charts/toolbar/)

## Import

```jsx
import { ChartsToolbarPro } from '@mui/x-charts-pro/ChartsToolbarPro';
// or
import { ChartsToolbarPro } from '@mui/x-charts-pro';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| exportMenuItems | `function(params: object, params.onClose: Function) => React.ReactNode` | - | No |  |
| imageExportOptions | `Array<{ copyStyles?: bool, fileName?: string, nonce?: string, onBeforeExport?: func, onStylesheetError?: func, pixelRatio?: number, quality?: number, type: string }>` | - | No |  |
| printOptions | `object` | - | No |  |
| rangeButtons | `Array<{ label: string, value?: Array<Date> \| Array<string> \| func \| { step?: number, unit: 'day' \| 'hour' \| 'microsecond' \| 'millisecond' \| 'minute' \| 'month' \| 'second' \| 'week' \| 'year' } }>` | - | No |  |
| rangeButtonsAxisId | `number \| string` | - | No |  |

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

> Any other props supplied will be provided to the root element (native element).

## Slots

| Name | Default | Class | Description |
|------|---------|-------|-------------|
| toolbar | `ChartsToolbar` | - | Custom component for the toolbar. |

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarPro.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarPro.tsx)

# ChartsToolbarRangeButtonTrigger API

## Demos

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

- [Charts - Toolbar](/x/react-charts/toolbar/)

## Import

```jsx
import { ChartsToolbarRangeButtonTrigger } from '@mui/x-charts-pro/ChartsToolbarPro';
// or
import { ChartsToolbarRangeButtonTrigger } from '@mui/x-charts-pro';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| label | `string` | - | Yes |  |
| value | `Array<Date> \| Array<string> \| func \| { step?: number, unit: 'day' \| 'hour' \| 'microsecond' \| 'millisecond' \| 'minute' \| 'month' \| 'second' \| 'week' \| 'year' }` | - | Yes |  |
| axisId | `number \| string` | - | No |  |
| render | `element \| func` | - | No |  |
| size | `'large' \| 'medium' \| 'small'` | `'small'` | No |  |

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

> Any other props supplied will be provided to the root element (native element).

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.tsx)

# ChartsToolbarZoomInTrigger API

## Demos

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

- [Charts - Toolbar](/x/react-charts/toolbar/)

## Import

```jsx
import { ChartsToolbarZoomInTrigger } from '@mui/x-charts-pro/ChartsToolbarPro';
// or
import { ChartsToolbarZoomInTrigger } from '@mui/x-charts-pro';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| render | `element \| func` | - | No |  |

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

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarZoomInTrigger.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarZoomInTrigger.tsx)

# ChartsToolbarZoomOutTrigger API

## Demos

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

- [Charts - Toolbar](/x/react-charts/toolbar/)

## Import

```jsx
import { ChartsToolbarZoomOutTrigger } from '@mui/x-charts-pro/ChartsToolbarPro';
// or
import { ChartsToolbarZoomOutTrigger } from '@mui/x-charts-pro';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| render | `element \| func` | - | No |  |

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

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts-pro/src/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.tsx)

# Toolbar API

## Demos

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

- [Charts - Toolbar](/x/react-charts/toolbar/)

## Import

```jsx
import { Toolbar } from '@mui/x-charts/Toolbar';
// or
import { Toolbar } from '@mui/x-charts';
// or
import { Toolbar } from '@mui/x-charts-pro';
// or
import { Toolbar } from '@mui/x-charts-premium';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| render | `element \| func` | - | No |  |

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

> Any other props supplied will be provided to the root element (native element).

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-charts/src/Toolbar/Toolbar.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts/src/Toolbar/Toolbar.tsx)

# ToolbarButton API

## Demos

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

- [Charts - Toolbar](/x/react-charts/toolbar/)

## Import

```jsx
import { ToolbarButton } from '@mui/x-charts/Toolbar';
// or
import { ToolbarButton } from '@mui/x-charts';
// or
import { ToolbarButton } from '@mui/x-charts-pro';
// or
import { ToolbarButton } from '@mui/x-charts-premium';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| disabled | `bool` | - | No |  |
| id | `string` | - | No |  |
| render | `element \| func` | - | No |  |
| size | `'large' \| 'medium' \| 'small'` | - | No |  |
| tabIndex | `number` | - | No |  |

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

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-charts/src/Toolbar/ToolbarButton.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts/src/Toolbar/ToolbarButton.tsx)