torque-pro-assistant - v1.0.0
    Preparing search index...
    • 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.

      Parameters

      Returns Element

      A controlled brush strip; pair it with the same data / dataKey the upstream chart consumes.