Range-selection strip rendered below a chart (or stack of charts).
Shows a silhouette of one series and lets the user drag a window to
zoom the charts above. Output is a [fromIndex, toIndex] pair the
caller passes to LineChart's xRange prop.
Drag modes:
Pan: click-drag the body of the window.
Resize left: drag the left handle.
Resize right: drag the right handle.
Window can't collapse below MIN_WINDOW_SAMPLES to keep the
downstream charts meaningful.
Range-selection strip rendered below a chart (or stack of charts). Shows a silhouette of one series and lets the user drag a window to zoom the charts above. Output is a
[fromIndex, toIndex]pair the caller passes toLineChart'sxRangeprop.Drag modes:
Window can't collapse below
MIN_WINDOW_SAMPLESto keep the downstream charts meaningful.