TinyBase logoTinyBase

BarSeries

The BarSeries component renders a bar series in a CartesianChart component. Its x values are rendered categorically by default, even when they are finite numbers. Add an XAxis component with a linear or time scale to position bars continuously. Boolean category labels are rendered as true and false.

BarSeries(props: SeriesProps): ComponentReturnType
TypeDescription
propsSeriesProps
returnsComponentReturnType

See the Composing Charts (React) demo for this component in action:

BarSeries component example

Since

v8.5.0