UI

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

PropTypeDefault
title?string"Price history · drag to navigate"
values?number[]·
endDate?DateDEFAULT_END_DATE
initialWindow?number72
minWindow?number12
color?stringBLUE
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.