Skip to content

Charts - Bars

Bar charts express quantities through a bar's length, using a common baseline.

Basics

Bar charts series should contain a data property containing an array of values.

You can customize bar ticks with the xAxis. This axis might have scaleType='band' and its data should have the same length as your series.

group Agroup Bgroup C0123456
Press Enter to start editing

Stacking

Each bar series can get a stack property which expects a string value. Series with the same stack will be stacked on top of each other.

0123402468101214
Press Enter to start editing

Stacking strategy 🚧