Examples
Basic Bar Series
Unstacked Bars
Multiple Stacks
Attributes
Column name for y-axis
Column name for series grouping
The axis to render the series onAllowed values:
y1y2
Format for this series’ values. See Value Formatting for available formats.
Label each point in the series with its valueExample:Attributes:
- position:
string- Position the label relative to its data point- Allowed values:
abovebelowleftrightmiddle
- Allowed values:
- fmt:
string- Format the label value. Defaults to series or axis fmt.- Allowed values: See Value Formatting for all available formats.
- size:
number- Font size in px - distance:
number- How far the label is from the data point - rotate:
number- Rotate each label (degrees) - color:
string- Change the text color of the labels - show_overlap:
boolean- Show labels for every point even when they overlap
Attributes:
- color:
string - opacity:
number- Between 0 and 1
Whether to stack bars with the same series value. Set to “100%” for percentage stacking.
Stack identifier - bars with the same stack_id value will be stacked together. Overrides the stacked prop.

