DepthChart
Chart
The order-book view: cumulative bid and ask step areas mirrored around the spread, bids in the success tone and asks in destructive, on a numeric price axis.
Playground
Every control sets a real prop of DepthChartProps. The JSX below updates as you go.
Web
iOS
Android
JSX · DepthChartProps
Variants
1 examples from src/charts/depth-chart/depth-chart.md, each rendered live from its own JSX.
Anatomy
1
Chart frame
2
Bids
3
Asks
4
Legend
5
Gridlines
Dimmed parts appear only in some states or variants.
Props
12 props on DepthChartProps, 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
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--bad
--fd
--fm
--ft
--ln
--ok
--sf
--sh-sm
--tx2
--tx3