AreaChart
Chart
Categorical-x series fills: overlapping translucent areas by default, or running-sum bands with stacked. Shares the line chart's curve, density, furniture, and scrub-to-inspect axes.
Playground
Every control sets a real prop of AreaChartProps. The JSX below updates as you go.
Web
iOS
Android
JSX · AreaChartProps
Variants
1 examples from src/charts/area-chart/area-chart.md, each rendered live from its own JSX.
Anatomy
1
Chart frame
2
Series
3
Axis labels
4
Legend
5
Gridlines
Dimmed parts appear only in some states or variants.
Props
1 props on AreaChartProps, grouped as they are declared in source. Required props are marked *.
CartesianSeriesProps · the shared labels · series · title · max · min · success · destructive · curved · compact · plain · hideLegend · hideGrid · hideAxes · formatValue · selected · defaultSelected · onSelect · testID · style props.
Accessibility and keyboard
Keyboard
Tab
Focuses the plot
ArrowLeft
ArrowRight
Steps through points when inspectable
Escape
Clears the inspected point
Semantics
No role of its own in source; it reads as the content it renders.
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
--fd
--fm
--ft
--ln
--sf
--sh-sm
--tx2
--tx3