HistogramBarSeries
Spec
This spec describe the dataset configuration used to display a histogram bar series. This is identical to the BarSeries
but overrides enableHistogramMode
to true
.
A histogram bar series is identical to a bar series except for the bar width.
Overview
Compatible Specs
HistogramBarSeries
spec can be used multiple times along with any of the following specs:
Global Specs
Specs
Axis
AreaSeries
LineSeries
BarSeries
BubbleSeries
HistogramBarSeries
LineAnnotation
RectAnnotation
Overrides
enableHistogramMode
->true
Props
All props can be found via HistogramBarSeriesProps
type.
BarSeriesSpec
Props
Inherits BarSeriesSpec
props
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).