LiveChart runs a tick loop on the UI thread that scrolls the time window and eases the live
value toward its target each frame. These props tune that engine.
Live examples:
app/demo/playback.tsx
and
app/demo/historical-data.tsx
in the example app.Time window
timeWindow is the visible span in seconds — the chart shows the most recent timeWindow
seconds and scrolls left as new points arrive.
Pausing
paused freezes the scroll. Live data keeps buffering while paused; resuming catches the window
back up to real time.
Smoothing
The live tip eases toward the latestvalue instead of snapping. smoothing is the lerp speed —
0 freezes the tip, 1 makes it instant. The default is 0.08.
Y-axis range
By default the Y-axis fits the visible data with a little headroom. Three props reshape it:exaggerate— tighten the axis so small moves fill the height.nonNegative— clamp the lower bound at0.maxValue— pin a hard upper bound.
Historical data fill
To render a fixed historical span edge-to-edge — rather than a live-scrolling tail — freeze the engine’s clock withnowOverride 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 oftimeWindow, so the latest point isn’t flush against the edge.
LiveChart reference.