Skip to content

ScatterSeriesType API

Demos

Import

import { ScatterSeriesType } from '@mui/x-charts'

Properties

data

Type:ScatterValueType[]


type

Type:'scatter'


colorOptional

Type:string


disableHoverOptional

If true, the interaction will not use element hover for this series.

Type:boolean

Default:false


highlightScopeOptional

The scope to apply when the series is highlighted.

Type:Partial<HighlightScope>


idOptional

Type:SeriesId


labelOptional

The label to display on the tooltip or the legend. It can be a string or a function.

Type:string | ((location: 'tooltip' | 'legend') => string)


markerSizeOptional

Type:number


valueFormatterOptional

Formatter used to render values in tooltip or other data display.

Type:SeriesValueFormatter<TValue>


xAxisKeyOptional

The id of the x-axis used to render the series.

Type:string


yAxisKeyOptional

The id of the y-axis used to render the series.

Type:string


zAxisKeyOptional

The id of the z-axis used to render the series.

Type:string