StackedBar
Chart
One proportional horizontal bar split into colored segments (the chart-1..chart-8 tokens in fixed order), with a legend carrying each segment's label and share.
Playground
Every control sets a real prop of StackedBarProps. The JSX below updates as you go.
Web
iOS
Android
JSX · StackedBarProps
Variants
2 examples from src/charts/stacked-bar/stacked-bar.md, each rendered live from its own JSX.
Anatomy
1
Strip
2
Segment
3
Total
4
Legend
Dimmed parts appear only in some states or variants.
Props
11 props on StackedBarProps, grouped as they are declared in source. Required props are marked *.
Accessibility and keyboard
Keyboard
Tab
Focuses the plot
ArrowLeft
ArrowRight
Steps through points when inspectable
Escape
Clears the inspected point
Semantics
Roles
image
ARIA on web
aria-label
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--c1
--c2
--c3
--c4
--fd
--fm
--ft
--tx2
--tx3