- Watch the live chart move.
- Tap Pause live feed. This demo stops the simulated feed and sets
paused. Existing easing finishes, then the readout changes to Asleep with zero engine ticks. - Tap Resume live feed. New prices arrive, the window catches up to real time, and the chart animates again.
- Pause again and turn Automatic sleep off. The picture stays still, but the original engine loop keeps running. Turn it on to let the engine sleep again.
Recorded example
The recording shows live updates, pause at about 7 seconds, resume at 16 seconds, and the sleep switch comparison at 29–36 seconds. Agent-device observed 60 → 0 → 60 engine ticks per second on a dedicated iOS debug simulator. Two settled chart captures 1.5 seconds apart were pixel-identical. This verifies the tested interaction; physical-device performance and battery use still need testing.useSimulatedChartData is an example-app helper, not a library export. In a real app,
pausing the chart does not automatically stop your data source: continued data
changes wake the engine as needed.
autoSleep is experimental, defaults to false, and currently applies only to
single-series LiveChart. See the API reference and
Historical data for its
continuous-effect and static-mode rules.