BarSeriesType API
Extended documentation for the BarSeriesType interface with detailed information on the module's properties and available APIs.
Demos
Import
import { BarSeriesType } from '@mui/x-charts'
The scope to apply when the series is highlighted.
Type:Partial<HighlightScope>
The label to display on the tooltip or the legend. It can be a string or a function.
Type:string | ((location: 'tooltip' | 'legend') => string)
Layout of the bars. All bar should have the same layout.
Type:'horizontal' | 'vertical'
Default:'vertical'
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:'diverging'
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>