variant assigns color per series index. Use monochrome for four or fewer series, and categorical for five or more.
- Design rules: Bar charts — grouped
- Shared API / tooltips / palettes: Chart component
- Plain bar / direct labels: Bar
Minimal option
Define onebar series per variable and leave stack unset. Orientation follows the axis layout rather than a Chart prop: the category axis holds the labels and the value axis holds the measurements.
Variant styling
variant applies the following treatment:
Avoid hand-authoring
borderRadius or palette hex values to reproduce this treatment.
Tooltips
PassrenderTooltip to add hover content. See Chart component.