Range Navigator
A price history chart with a range selector minimap; drag the window to pan and pull an edge to zoom, for trading and analytics apps.
Range Navigator
A price history chart with a range selector minimap; drag the window to pan and pull an edge to zoom, for trading and analytics apps.
When to use it
The one to use when a series is too long to show at full detail but the reader still needs to reach any part of it. The mini-map keeps the whole range visible while the detail chart shows only the window, which a zoomable single chart cannot do.
Props · RangeNavigator
| Prop | Type | Default |
|---|---|---|
| title? | string | "Price history · drag to navigate" |
| values? | number[] | · |
| endDate? | Date | DEFAULT_END_DATE |
| initialWindow? | number | 72 |
| minWindow? | number | 12 |
| color? | string | BLUE |
| locale? | string | "en-US" |
| currency? | string | "USD" |
| onWindowChange? | (range: { start: number; end: number }) => void className?: string | · |
Generated from the component source. Run npm run props:extract after changing a signature.
