BulletChart
Chart
Goal-attainment rows: each datum is a leading label, a track holding qualitative background bands (ranges, ascending bounds in fading washes), the tone-colored measure bar, an optional vertical target tick, and the trailing formatted value.
Playground
Every control sets a real prop of BulletChartProps. The JSX below updates as you go.
Web
iOS
Android
JSX · BulletChartProps
Variants
2 examples from src/charts/bullet-chart/bullet-chart.md, each rendered live from its own JSX.
Anatomy
1
Frame
2
Measure
3
Target marker
4
Ranges
Dimmed parts appear only in some states or variants.
Props
11 props on BulletChartProps, 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
group
image
img
ARIA on web
aria-label
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
Following the classic bullet-graph anatomy each row carries its own scale, since goals rarely share units; pass max to force one shared scale when they do. The compact alternative to a dashboard of gauges: five goals read in five rows.
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--c1
--fd
--fm
--ft
--ln
--sf
--sf2
--sf3
--sf4
--sh-sm
--tx
--tx2
--tx3