ReplayState
Documentation / @elitechart/core / ReplayState
Defined in: replay/replay-state.ts:16
Snapshot of bar-replay state. Returned by chart.getReplayState().
Example
Properties
active
Defined in: replay/replay-state.ts:18
True while the chart is in replay mode.
index
Defined in: replay/replay-state.ts:20
Index of the most-recent visible bar. -1 when active = false.
playing
Defined in: replay/replay-state.ts:22
True while auto-advance is running.
rangeFromIndex
Defined in: replay/replay-state.ts:30
Optional replay-range bar indices. When set, stepReplay is clamped
to [rangeFromIndex, rangeToIndex] and auto-advance halts at the
upper bound. null = replay covers the full bar array.
rangeToIndex
Defined in: replay/replay-state.ts:31
speedMs
Defined in: replay/replay-state.ts:24
Auto-advance interval in milliseconds.