ReplayBarBinding
Documentation / @elitechart/core / ReplayBarBinding
Defined in: ui/replay-bar.ts:27
Actions the replay bar delegates back to the chart. Wire each
callback to the matching chart.*Replay* method.
Example
Methods
onClearRange()?
Defined in: ui/replay-bar.ts:44
Optional — clear any previously-selected replay range.
Returns
void
onEnter()
Defined in: ui/replay-bar.ts:29
Enter replay mode (cursor starts at default position).
Returns
void
onExit()
Defined in: ui/replay-bar.ts:31
Exit replay mode.
Returns
void
onPause()
Defined in: ui/replay-bar.ts:37
Pause auto-advance.
Returns
void
onPlay()
Defined in: ui/replay-bar.ts:35
Start auto-advance at the given speed (ms per bar).
Parameters
speedMs
number
Returns
void
onSelectRange()?
Defined in: ui/replay-bar.ts:42
Optional — arms drag-to-select replay-range mode on the chart. The next pointer drag on the plot area defines the replay window.
Returns
void
onStep()
Defined in: ui/replay-bar.ts:33
Step the cursor forward (n > 0) or back (n < 0).
Parameters
n
number
Returns
void