LineSeriesType API
Demos
Import
import { LineSeriesType } from '@mui/x-charts'
If true
, line and area connect points separated by null
values.
Type:boolean
Default:false
Do not render the line highlight item if set to true
.
Type:boolean
Default:false
The label to display on the tooltip or the legend. It can be a string or a function.
Type:string | ((location: 'tooltip' | 'legend') => string)
Define which items of the series should display a mark.
If can be a boolean that applies to all items.
Or a callback that gets some item properties and returns true if the item should be displayed.
Type:boolean | ((params: ShowMarkParams) => boolean)
The key that identifies the stacking group.
Series with the same stack
property will be stacked together.
Type:string
Defines how stacked series handle negative values.
Type:StackOffsetType
Default:'none'
The order in which series' of the same group are stacked together.
Type:StackOrderType
Default:'none'
Formatter used to render values in tooltip or other data display.
Type:SeriesValueFormatter<TValue>