BarSeries Spec
Defines a bar series in the chart.
Overview
Compatible Specs
BarSeries spec can be used multiple times along with any of the following specs:
Global Specs
Specs
Overrides
seriesType->SeriesType.Bar
Props
All props can be found via BarSeriesProps type.
BasicSeriesSpec Props
Inherits BasicSeriesSpec props
Postfixes Props
Inherits Postfixes props
enableHistogramMode
- Type:
enableHistogramMode?: boolean - Default:
false
barSeriesStyle
- Type:
barSeriesStyle?: RecursivePartial<BarSeriesStyle>
Styles to apply to bar series. Overrides syles from Theme
stackMode
- Type:
stackMode?: StackMode - Default:
'100%'
Stack each series using a specific mode: Percentage, Wiggle, Silhouette. The last two modes are generally used for stream graphs
styleAccessor
- Type:
styleAccessor?: BarStyleAccessor - Default:
'100%'
Functional accessor to return custom color or style for bar datum
minBarHeight
- Type:
minBarHeight?: number - Unit:
pixel
Min height to render bars for highly variable data (i.e. ranges from 1 to 100,000).