[object Promise]

# ChartsGrid API

## Demos

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

- [Charts - Axis ticks and grid](/x/react-charts/axis-ticks/)
- [Charts - Bars](/x/react-charts/bars/)
- [Charts - Composition](/x/react-charts/composition/)
- [Charts - Lines](/x/react-charts/lines/)
- [Charts - Scatter](/x/react-charts/scatter/)

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| className | `string` | - | No |  |
| horizontal | `bool` | - | No |  |
| vertical | `bool` | - | No |  |

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

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

## CSS

### Rule name

| Global class | Rule name | Description |
|--------------|-----------|-------------|
| - | horizontalLine | Styles applied to x-axes. |
| - | line | Styles applied to every line element. |
| - | root | Styles applied to the root element. |
| - | verticalLine | Styles applied to y-axes. |

## 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/ChartsGrid/ChartsGrid.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts/src/ChartsGrid/ChartsGrid.tsx)

# ChartsWrapper API

## Demos

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

- [Charts - Pie](/x/react-charts/pie/)
- [Charts - Radar](/x/react-charts/radar/)
- [Charts - Scatter](/x/react-charts/scatter/)

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| children | `node` | - | Yes |  |
| extendVertically | `bool` | ``false` if the `height` prop is set. And `true` otherwise.` | No |  |
| hideLegend | `bool` | `false` | No |  |
| legendDirection | `'horizontal' \| 'vertical'` | `'horizontal'` | No |  |
| legendPosition | `{ horizontal?: 'center' \| 'end' \| 'start', vertical?: 'bottom' \| 'middle' \| 'top' }` | `{ horizontal: 'center', vertical: 'bottom' }` | No |  |
| sx | `Array<func \| object \| bool> \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |

> **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/ChartsWrapper/ChartsWrapper.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts/src/ChartsWrapper/ChartsWrapper.tsx)

# HighlightedScatterMark API

## Demos

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

- [Charts - Scatter](/x/react-charts/scatter/)

## Import

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

> **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/ScatterChart/HighlightedScatterMark.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts/src/ScatterChart/HighlightedScatterMark.tsx)

# ScatterChart API

## Demos

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

- [Charts - Bubble](/x/react-charts/bubble/)
- [Charts - Label](/x/react-charts/label/)
- [Charts - Scatter](/x/react-charts/scatter/)
- [Charts - Scatter demos](/x/react-charts/scatter-demo/)

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| series | `Array<object>` | - | Yes |  |
| apiRef | `{ current?: object }` | - | No |  |
| axesGap | `number` | `0` | No |  |
| axisHighlight | `{ x?: 'band' \| 'line' \| 'none', y?: 'band' \| 'line' \| 'none' }` | `{ x: 'none', y: 'none' }` | No |  |
| brushConfig | `{ enabled?: bool, preventHighlight?: bool, preventTooltip?: bool }` | - | No |  |
| children | `node` | - | No |  |
| colors | `Array<string> \| func` | `rainbowSurgePalette` | No |  |
| dataset | `Array<object>` | - | No |  |
| desc | `string` | - | No |  |
| disableAxisListener | `bool` | `false` | No |  |
| disableClosestPoint (deprecated) | `bool` | `false` | No | ⚠️ Use `disableHitArea` instead. |
| disableHitArea | `bool` | `false` | No |  |
| disableKeyboardNavigation | `bool` | - | No |  |
| disableVoronoi (deprecated) | `bool` | `false` | No | ⚠️ Use `disableHitArea` instead. |
| experimentalFeatures | `{ keyboardActivation?: bool, progressiveRendering?: bool }` | - | No |  |
| focusItemOnClick | `bool` | `false` | No |  |
| grid | `{ horizontal?: bool, vertical?: bool }` | - | No |  |
| height | `number` | - | No |  |
| hiddenItems | `Array<{ dataIndex?: number, seriesId: string, type: 'scatter' } \| { dataIndex?: number, seriesId: string, type?: 'scatter' }>` | - | No |  |
| hideLegend | `bool` | - | No |  |
| highlightedItem | `{ dataIndex?: number, seriesId: string } \| { dataIndex?: number, seriesId: string, type: 'scatter' }` | - | No |  |
| hitAreaRadius | `'item' \| number` | - | No |  |
| id | `string` | - | No |  |
| initialHiddenItems | `Array<{ dataIndex?: number, seriesId: string, type: 'scatter' } \| { dataIndex?: number, seriesId: string, type?: 'scatter' }>` | - | No |  |
| loading | `bool` | `false` | No |  |
| localeText | `object` | - | No |  |
| margin | `number \| { bottom?: number, left?: number, right?: number, top?: number }` | - | No |  |
| onAxisClick | `function(event: ChartsActivationEvent, data: null \| ChartsAxisData) => void` | - | No |  |
| onHiddenItemsChange | `function(hiddenItems: Array<VisibilityIdentifierWithType>) => void` | - | No |  |
| onHighlightChange | `function(highlightedItem: HighlightItemIdentifierWithType<SeriesType> \| null) => void` | - | No |  |
| onItemClick | `function(event: MouseEvent, scatterItemIdentifier: ScatterItemIdentifier) => void` | - | No |  |
| onTooltipAxisChange | `function(axisItems: Array<AxisItemIdentifier>) => void` | - | No |  |
| onTooltipItemChange | `function(tooltipItem: SeriesItemIdentifier<SeriesType> \| null) => void` | - | No |  |
| renderer | `'svg-batch' \| 'svg-progressive' \| 'svg-single'` | `'svg-single'` | No |  |
| showToolbar | `bool` | `false` | No |  |
| skipAnimation | `bool` | - | No |  |
| slotProps | `object` | `{}` | No |  |
| slots | `object` | `{}` | No |  |
| sx | `Array<func \| object \| bool> \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |
| theme | `'dark' \| 'light'` | - | No |  |
| title | `string` | - | No |  |
| tooltipAxis | `Array<{ axisId: number \| string, dataIndex: number }>` | - | No |  |
| tooltipItem | `{ dataIndex: number, seriesId: string } \| { dataIndex: number, seriesId: string, type: 'scatter' }` | - | No |  |
| width | `number` | - | No |  |
| xAxis | `Array<object>` | - | No |  |
| yAxis | `Array<object>` | - | No |  |
| zAxis | `Array<{ colorMap?: { color: Array<string> \| func, max?: Date \| number, min?: Date \| number, type: 'continuous', unknownColor?: string } \| { colors: Array<string>, thresholds: Array<Date \| number>, type: 'piecewise', unknownColor?: string } \| { colors: Array<string>, type: 'ordinal', unknownColor?: string, values?: Array<Date \| number \| string> }, data?: array, dataKey?: string, id?: string, max?: number, min?: number, sizeMap?: { interpolator?: 'linear' \| 'log' \| 'sqrt', max?: Date \| number, min?: Date \| number, size: Array<number>, type: 'continuous' } \| { max?: Date \| number, min?: Date \| number, size: func, type: 'continuous' } \| { sizes: Array<number>, thresholds: Array<Date \| number>, type: 'piecewise' } \| { sizes: Array<number>, type: 'ordinal', unknownSize?: number, values?: Array<Date \| number \| string> }, valueGetter?: func }>` | - | No |  |

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

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

## Theme default props

You can use `MuiScatterChart` to change the default props of this component with the theme.

## Slots

| Name | Default | Class | Description |
|------|---------|-------|-------------|
| axisLabel | `ChartsText` | - | Custom component for axis label. |
| axisLine | `'line'` | - | Custom component for the axis main line. |
| axisTick | `'line'` | - | Custom component for the axis tick. |
| axisTickLabel | `ChartsText` | - | Custom component for tick label. |
| baseButton | `Button` | - | The component used for buttons. |
| baseIconButton | `IconButton` | - | The component used for icon buttons. |
| baseToggleButton | `ToggleButton` | - | The component used for toggle buttons.
Note: MUI's `ToggleButton` has an incompatible `href` prop, so it must be cast:
`ToggleButton as unknown as React.ComponentType`. |
| baseToggleButtonGroup | `ToggleButtonGroup` | - | The component used for toggle button groups. |
| legend | `ChartsLegend` | - | Custom rendering of the legend. |
| loadingOverlay | `ChartsLoadingOverlay` | - | Overlay component rendered when the chart is in a loading state. |
| marker | `ScatterMarker` | - | The component that renders the marker for a scatter point. |
| noDataOverlay | `ChartsNoDataOverlay` | - | Overlay component rendered when the chart has no data to display. |
| scatter | `Scatter, BatchScatter with the `svg-batch` renderer, or ScatterAsync with progressive rendering.` | - | The component that renders the scatter markers. |
| toolbar | `ChartsToolbar` | - | Custom component for the toolbar. |
| tooltip | `ChartsTooltipRoot` | - | Custom component for the tooltip popper. |
| xAxis | `ChartsXAxis` | - | Custom component for the x-axis. |
| yAxis | `ChartsYAxis` | - | Custom component for the y-axis. |

## 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/ScatterChart/ScatterChart.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts/src/ScatterChart/ScatterChart.tsx)

# ScatterChartPremium API

## Demos

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

- [Charts - Bubble](/x/react-charts/bubble/)
- [Charts - Scatter](/x/react-charts/scatter/)

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| series | `Array<object>` | - | Yes |  |
| apiRef | `{ current?: { exportAsImage: func, exportAsPrint: func, setAxisZoomData: func, setZoomData: func } }` | - | No |  |
| axesGap | `number` | `0` | No |  |
| axisHighlight | `{ x?: 'band' \| 'line' \| 'none', y?: 'band' \| 'line' \| 'none' }` | `{ x: 'none', y: 'none' }` | No |  |
| brushConfig | `{ enabled?: bool, preventHighlight?: bool, preventTooltip?: bool }` | - | No |  |
| children | `node` | - | No |  |
| colors | `Array<string> \| func` | `rainbowSurgePalette` | No |  |
| dataset | `Array<object>` | - | No |  |
| desc | `string` | - | No |  |
| disableAxisListener | `bool` | `false` | No |  |
| disableClosestPoint (deprecated) | `bool` | `false` | No | ⚠️ Use `disableHitArea` instead. |
| disableHitArea | `bool` | `false` | No |  |
| disableKeyboardNavigation | `bool` | - | No |  |
| disableVoronoi (deprecated) | `bool` | `false` | No | ⚠️ Use `disableHitArea` instead. |
| experimentalFeatures | `{ keyboardActivation?: bool, progressiveRendering?: bool }` | - | No |  |
| focusItemOnClick | `bool` | `false` | No |  |
| grid | `{ horizontal?: bool, vertical?: bool }` | - | No |  |
| height | `number` | - | No |  |
| hiddenItems | `Array<{ dataIndex?: number, seriesId: string, type: 'scatter' } \| { dataIndex?: number, seriesId: string, type?: 'scatter' }>` | - | No |  |
| hideLegend | `bool` | - | No |  |
| highlightedItem | `{ dataIndex?: number, seriesId: string } \| { dataIndex?: number, seriesId: string, type: 'scatter' }` | - | No |  |
| hitAreaRadius | `'item' \| number` | - | No |  |
| id | `string` | - | No |  |
| initialHiddenItems | `Array<{ dataIndex?: number, seriesId: string, type: 'scatter' } \| { dataIndex?: number, seriesId: string, type?: 'scatter' }>` | - | No |  |
| initialZoom | `Array<{ axisId: number \| string, end: number, start: number } \| { axisId: number \| string, value?: Array<Date> \| Array<string> \| func \| { step?: number, unit: 'day' \| 'hour' \| 'microsecond' \| 'millisecond' \| 'minute' \| 'month' \| 'second' \| 'week' \| 'year' } }>` | - | No |  |
| loading | `bool` | `false` | No |  |
| localeText | `object` | - | No |  |
| margin | `number \| { bottom?: number, left?: number, right?: number, top?: number }` | - | No |  |
| onAxisClick | `function(event: ChartsActivationEvent, data: null \| ChartsAxisData) => void` | - | No |  |
| onHiddenItemsChange | `function(hiddenItems: Array<VisibilityIdentifierWithType>) => void` | - | No |  |
| onHighlightChange | `function(highlightedItem: HighlightItemIdentifierWithType<SeriesType> \| null) => void` | - | No |  |
| onItemClick | `function(event: MouseEvent, scatterItemIdentifier: ScatterItemIdentifier) => void` | - | No |  |
| onTooltipAxisChange | `function(axisItems: Array<AxisItemIdentifier>) => void` | - | No |  |
| onTooltipItemChange | `function(tooltipItem: SeriesItemIdentifier<SeriesType> \| null) => void` | - | No |  |
| onZoomChange | `function(zoomData: Array<ZoomData>) => void` | - | No |  |
| renderer | `'svg-batch' \| 'svg-single' \| 'webgl'` | `'svg-single'` | No |  |
| showToolbar | `bool` | `false` | No |  |
| skipAnimation | `bool` | - | No |  |
| slotProps | `object` | `{}` | No |  |
| slots | `object` | `{}` | No |  |
| sx | `Array<func \| object \| bool> \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |
| theme | `'dark' \| 'light'` | - | No |  |
| title | `string` | - | No |  |
| tooltipAxis | `Array<{ axisId: number \| string, dataIndex: number }>` | - | No |  |
| tooltipItem | `{ dataIndex: number, seriesId: string } \| { dataIndex: number, seriesId: string, type: 'scatter' }` | - | No |  |
| width | `number` | - | No |  |
| xAxis | `Array<object>` | - | No |  |
| yAxis | `Array<object>` | - | No |  |
| zAxis | `Array<{ colorMap?: { color: Array<string> \| func, max?: Date \| number, min?: Date \| number, type: 'continuous', unknownColor?: string } \| { colors: Array<string>, thresholds: Array<Date \| number>, type: 'piecewise', unknownColor?: string } \| { colors: Array<string>, type: 'ordinal', unknownColor?: string, values?: Array<Date \| number \| string> }, data?: array, dataKey?: string, id?: string, max?: number, min?: number, sizeMap?: { interpolator?: 'linear' \| 'log' \| 'sqrt', max?: Date \| number, min?: Date \| number, size: Array<number>, type: 'continuous' } \| { max?: Date \| number, min?: Date \| number, size: func, type: 'continuous' } \| { sizes: Array<number>, thresholds: Array<Date \| number>, type: 'piecewise' } \| { sizes: Array<number>, type: 'ordinal', unknownSize?: number, values?: Array<Date \| number \| string> }, valueGetter?: func }>` | - | No |  |
| zoomData | `Array<{ axisId: number \| string, end: number, start: number }>` | - | No |  |
| zoomInteractionConfig | `{ pan?: Array<'drag' \| 'keyboard' \| 'pressAndDrag' \| 'wheel' \| { allowedDirection?: 'x' \| 'xy' \| 'y', pointerMode?: any, requiredKeys?: Array<string>, type: 'wheel' } \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'drag' } \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'pressAndDrag' } \| { pointerMode?: any, requiredKeys?: array, type: 'keyboard' }>, zoom?: Array<'brush' \| 'doubleTapReset' \| 'keyboard' \| 'pinch' \| 'tapAndDrag' \| 'wheel' \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'brush' } \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'doubleTapReset' } \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'tapAndDrag' } \| { pointerMode?: any, requiredKeys?: array, type: 'keyboard' } \| { pointerMode?: any, requiredKeys?: array, type: 'pinch' } \| { pointerMode?: any, requiredKeys?: Array<string>, type: 'wheel' }> }` | - | No |  |

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

## Slots

| Name | Default | Class | Description |
|------|---------|-------|-------------|
| axisLabel | `ChartsText` | - | Custom component for axis label. |
| axisLine | `'line'` | - | Custom component for the axis main line. |
| axisTick | `'line'` | - | Custom component for the axis tick. |
| axisTickLabel | `ChartsText` | - | Custom component for tick label. |
| baseButton | `Button` | - | The component used for buttons. |
| baseDivider | `Divider` | - | The component used for dividers. |
| baseIconButton | `IconButton` | - | The component used for icon buttons. |
| baseMenuItem | `MenuItem` | - | The component used for menu items. |
| baseMenuList | `MenuList` | - | The component used for menu lists. |
| basePopper | `Popper` | - | The component used for poppers. |
| baseToggleButton | `ToggleButton` | - | The component used for toggle buttons.
Note: MUI's `ToggleButton` has an incompatible `href` prop, so it must be cast:
`ToggleButton as unknown as React.ComponentType`. |
| baseToggleButtonGroup | `ToggleButtonGroup` | - | The component used for toggle button groups. |
| baseTooltip | `Tooltip` | - | The component used for tooltips. |
| exportIcon | `ChartsExportIcon` | - | Icon displayed on the toolbar's export button. |
| legend | `ChartsLegend` | - | Custom rendering of the legend. |
| loadingOverlay | `ChartsLoadingOverlay` | - | Overlay component rendered when the chart is in a loading state. |
| marker | `ScatterMarker` | - | The component that renders the marker for a scatter point. |
| noDataOverlay | `ChartsNoDataOverlay` | - | Overlay component rendered when the chart has no data to display. |
| scatter | `Scatter, BatchScatter with the `svg-batch` renderer, or ScatterAsync with progressive rendering.` | - | The component that renders the scatter markers. |
| toolbar | `ChartsToolbar` | - | Custom component for the toolbar. |
| tooltip | `ChartsTooltipRoot` | - | Custom component for the tooltip popper. |
| xAxis | `ChartsXAxis` | - | Custom component for the x-axis. |
| yAxis | `ChartsYAxis` | - | Custom component for the y-axis. |
| zoomInIcon | `ChartsZoomInIcon` | - | Icon displayed on the toolbar's zoom in button. |
| zoomOutIcon | `ChartsZoomOutIcon` | - | Icon displayed on the toolbar's zoom out button. |

## 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-premium/src/ScatterChartPremium/ScatterChartPremium.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts-premium/src/ScatterChartPremium/ScatterChartPremium.tsx)

# ScatterChartPro API

## Demos

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

- [Charts - Bubble](/x/react-charts/bubble/)
- Charts - Export
- [Charts - Scatter](/x/react-charts/scatter/)
- Charts - Zoom and pan

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| series | `Array<object>` | - | Yes |  |
| apiRef | `{ current?: { exportAsImage: func, exportAsPrint: func, setAxisZoomData: func, setZoomData: func } }` | - | No |  |
| axesGap | `number` | `0` | No |  |
| axisHighlight | `{ x?: 'band' \| 'line' \| 'none', y?: 'band' \| 'line' \| 'none' }` | `{ x: 'none', y: 'none' }` | No |  |
| brushConfig | `{ enabled?: bool, preventHighlight?: bool, preventTooltip?: bool }` | - | No |  |
| children | `node` | - | No |  |
| colors | `Array<string> \| func` | `rainbowSurgePalette` | No |  |
| dataset | `Array<object>` | - | No |  |
| desc | `string` | - | No |  |
| disableAxisListener | `bool` | `false` | No |  |
| disableClosestPoint (deprecated) | `bool` | `false` | No | ⚠️ Use `disableHitArea` instead. |
| disableHitArea | `bool` | `false` | No |  |
| disableKeyboardNavigation | `bool` | - | No |  |
| disableVoronoi (deprecated) | `bool` | `false` | No | ⚠️ Use `disableHitArea` instead. |
| experimentalFeatures | `{ keyboardActivation?: bool, progressiveRendering?: bool }` | - | No |  |
| focusItemOnClick | `bool` | `false` | No |  |
| grid | `{ horizontal?: bool, vertical?: bool }` | - | No |  |
| height | `number` | - | No |  |
| hiddenItems | `Array<{ dataIndex?: number, seriesId: string, type: 'scatter' } \| { dataIndex?: number, seriesId: string, type?: 'scatter' }>` | - | No |  |
| hideLegend | `bool` | - | No |  |
| highlightedItem | `{ dataIndex?: number, seriesId: string } \| { dataIndex?: number, seriesId: string, type: 'scatter' }` | - | No |  |
| hitAreaRadius | `'item' \| number` | - | No |  |
| id | `string` | - | No |  |
| initialHiddenItems | `Array<{ dataIndex?: number, seriesId: string, type: 'scatter' } \| { dataIndex?: number, seriesId: string, type?: 'scatter' }>` | - | No |  |
| initialZoom | `Array<{ axisId: number \| string, end: number, start: number } \| { axisId: number \| string, value?: Array<Date> \| Array<string> \| func \| { step?: number, unit: 'day' \| 'hour' \| 'microsecond' \| 'millisecond' \| 'minute' \| 'month' \| 'second' \| 'week' \| 'year' } }>` | - | No |  |
| loading | `bool` | `false` | No |  |
| localeText | `object` | - | No |  |
| margin | `number \| { bottom?: number, left?: number, right?: number, top?: number }` | - | No |  |
| onAxisClick | `function(event: ChartsActivationEvent, data: null \| ChartsAxisData) => void` | - | No |  |
| onHiddenItemsChange | `function(hiddenItems: Array<VisibilityIdentifierWithType>) => void` | - | No |  |
| onHighlightChange | `function(highlightedItem: HighlightItemIdentifierWithType<SeriesType> \| null) => void` | - | No |  |
| onItemClick | `function(event: MouseEvent, scatterItemIdentifier: ScatterItemIdentifier) => void` | - | No |  |
| onTooltipAxisChange | `function(axisItems: Array<AxisItemIdentifier>) => void` | - | No |  |
| onTooltipItemChange | `function(tooltipItem: SeriesItemIdentifier<SeriesType> \| null) => void` | - | No |  |
| onZoomChange | `function(zoomData: Array<ZoomData>) => void` | - | No |  |
| renderer | `'svg-batch' \| 'svg-progressive' \| 'svg-single'` | `'svg-single'` | No |  |
| showToolbar | `bool` | `false` | No |  |
| skipAnimation | `bool` | - | No |  |
| slotProps | `object` | `{}` | No |  |
| slots | `object` | `{}` | No |  |
| sx | `Array<func \| object \| bool> \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |
| theme | `'dark' \| 'light'` | - | No |  |
| title | `string` | - | No |  |
| tooltipAxis | `Array<{ axisId: number \| string, dataIndex: number }>` | - | No |  |
| tooltipItem | `{ dataIndex: number, seriesId: string } \| { dataIndex: number, seriesId: string, type: 'scatter' }` | - | No |  |
| width | `number` | - | No |  |
| xAxis | `Array<object>` | - | No |  |
| yAxis | `Array<object>` | - | No |  |
| zAxis | `Array<{ colorMap?: { color: Array<string> \| func, max?: Date \| number, min?: Date \| number, type: 'continuous', unknownColor?: string } \| { colors: Array<string>, thresholds: Array<Date \| number>, type: 'piecewise', unknownColor?: string } \| { colors: Array<string>, type: 'ordinal', unknownColor?: string, values?: Array<Date \| number \| string> }, data?: array, dataKey?: string, id?: string, max?: number, min?: number, sizeMap?: { interpolator?: 'linear' \| 'log' \| 'sqrt', max?: Date \| number, min?: Date \| number, size: Array<number>, type: 'continuous' } \| { max?: Date \| number, min?: Date \| number, size: func, type: 'continuous' } \| { sizes: Array<number>, thresholds: Array<Date \| number>, type: 'piecewise' } \| { sizes: Array<number>, type: 'ordinal', unknownSize?: number, values?: Array<Date \| number \| string> }, valueGetter?: func }>` | - | No |  |
| zoomData | `Array<{ axisId: number \| string, end: number, start: number }>` | - | No |  |
| zoomInteractionConfig | `{ pan?: Array<'drag' \| 'keyboard' \| 'pressAndDrag' \| 'wheel' \| { allowedDirection?: 'x' \| 'xy' \| 'y', pointerMode?: any, requiredKeys?: Array<string>, type: 'wheel' } \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'drag' } \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'pressAndDrag' } \| { pointerMode?: any, requiredKeys?: array, type: 'keyboard' }>, zoom?: Array<'brush' \| 'doubleTapReset' \| 'keyboard' \| 'pinch' \| 'tapAndDrag' \| 'wheel' \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'brush' } \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'doubleTapReset' } \| { pointerMode?: 'mouse' \| 'touch', requiredKeys?: Array<string>, type: 'tapAndDrag' } \| { pointerMode?: any, requiredKeys?: array, type: 'keyboard' } \| { pointerMode?: any, requiredKeys?: array, type: 'pinch' } \| { pointerMode?: any, requiredKeys?: Array<string>, type: 'wheel' }> }` | - | 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 |
|------|---------|-------|-------------|
| axisLabel | `ChartsText` | - | Custom component for axis label. |
| axisLine | `'line'` | - | Custom component for the axis main line. |
| axisTick | `'line'` | - | Custom component for the axis tick. |
| axisTickLabel | `ChartsText` | - | Custom component for tick label. |
| baseButton | `Button` | - | The component used for buttons. |
| baseDivider | `Divider` | - | The component used for dividers. |
| baseIconButton | `IconButton` | - | The component used for icon buttons. |
| baseMenuItem | `MenuItem` | - | The component used for menu items. |
| baseMenuList | `MenuList` | - | The component used for menu lists. |
| basePopper | `Popper` | - | The component used for poppers. |
| baseToggleButton | `ToggleButton` | - | The component used for toggle buttons.
Note: MUI's `ToggleButton` has an incompatible `href` prop, so it must be cast:
`ToggleButton as unknown as React.ComponentType`. |
| baseToggleButtonGroup | `ToggleButtonGroup` | - | The component used for toggle button groups. |
| baseTooltip | `Tooltip` | - | The component used for tooltips. |
| exportIcon | `ChartsExportIcon` | - | Icon displayed on the toolbar's export button. |
| legend | `ChartsLegend` | - | Custom rendering of the legend. |
| loadingOverlay | `ChartsLoadingOverlay` | - | Overlay component rendered when the chart is in a loading state. |
| marker | `ScatterMarker` | - | The component that renders the marker for a scatter point. |
| noDataOverlay | `ChartsNoDataOverlay` | - | Overlay component rendered when the chart has no data to display. |
| scatter | `Scatter, BatchScatter with the `svg-batch` renderer, or ScatterAsync with progressive rendering.` | - | The component that renders the scatter markers. |
| toolbar | `ChartsToolbar` | - | Custom component for the toolbar. |
| tooltip | `ChartsTooltipRoot` | - | Custom component for the tooltip popper. |
| xAxis | `ChartsXAxis` | - | Custom component for the x-axis. |
| yAxis | `ChartsYAxis` | - | Custom component for the y-axis. |
| zoomInIcon | `ChartsZoomInIcon` | - | Icon displayed on the toolbar's zoom in button. |
| zoomOutIcon | `ChartsZoomOutIcon` | - | Icon displayed on the toolbar's zoom out button. |

## 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/ScatterChartPro/ScatterChartPro.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts-pro/src/ScatterChartPro/ScatterChartPro.tsx)

# ScatterPlot API

## Demos

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

- [Charts - Scatter](/x/react-charts/scatter/)
- [Charts - Scatter demos](/x/react-charts/scatter-demo/)

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| onItemClick | `function(event: MouseEvent, scatterItemIdentifier: ScatterItemIdentifier) => void` | - | No |  |
| renderer | `'svg-batch' \| 'svg-progressive' \| 'svg-single'` | `'svg-single'` | No |  |
| slotProps | `object` | `{}` | No |  |
| slots | `object` | `{}` | No |  |

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

## Slots

| Name | Default | Class | Description |
|------|---------|-------|-------------|
| marker | `ScatterMarker` | `.MuiScatterChart-marker` | The component that renders the marker for a scatter point. |
| scatter | `Scatter, BatchScatter with the `svg-batch` renderer, or ScatterAsync with progressive rendering.` | - | The component that renders the scatter markers. |

## CSS

### Rule name

| Global class | Rule name | Description |
|--------------|-----------|-------------|
| - | focusedMark | Styles applied to the focused scatter mark element. |
| - | highlightedMark | Styles applied to the highlighted scatter mark element. |
| - | root | Styles applied to the scatter plot element. |
| - | series | Styles applied to the group surrounding a series' scatter elements. |

## 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/ScatterChart/ScatterPlot.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts/src/ScatterChart/ScatterPlot.tsx)

# ScatterPlotPremium API

## Demos

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

- [Charts - Scatter](/x/react-charts/scatter/)

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| renderer | `'svg-batch' \| 'svg-single' \| 'webgl'` | - | Yes |  |
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| onItemClick | `function(event: MouseEvent, scatterItemIdentifier: ScatterItemIdentifier) => void` | - | No |  |
| slotProps | `object` | `{}` | No |  |
| slots | `object` | `{}` | No |  |

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

## Slots

| Name | Default | Class | Description |
|------|---------|-------|-------------|
| marker | `ScatterMarker` | `.MuiScatterChart-marker` | The component that renders the marker for a scatter point. |
| scatter | `Scatter, BatchScatter with the `svg-batch` renderer, or ScatterAsync with progressive rendering.` | - | The component that renders the scatter markers. |

## CSS

### Rule name

| Global class | Rule name | Description |
|--------------|-----------|-------------|
| - | focusedMark | Styles applied to the focused scatter mark element. |
| - | highlightedMark | Styles applied to the highlighted scatter mark element. |
| - | root | Styles applied to the scatter plot element. |
| - | series | Styles applied to the group surrounding a series' scatter elements. |

## 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-premium/src/ScatterChartPremium/ScatterPlotPremium.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts-premium/src/ScatterChartPremium/ScatterPlotPremium.tsx)