Skip to main content
Live example: app/demo/historical-data.tsx in the example app.

A fixed historical span rendered edge-to-edge

To render a fixed historical span edge-to-edge — rather than a live-scrolling tail — freeze the engine’s clock with nowOverride and reserve a little right-edge space with windowBuffer:
  • nowOverride — override the engine’s “now” (unix seconds). Set it to your dataset’s last timestamp so the window ends exactly there.
  • windowBuffer — right-edge padding as a fraction of timeWindow, so the latest point isn’t flush against the edge.
See the full prop list in the LiveChart reference, and the live Playback controls for tuning the window, smoothing, and Y-axis range.