Skip to content

charton API


charton API / @chart-on/ui / index / createReplayControls

Function: createReplayControls() ​

createReplayControls(chart): ReplayControlsHandle

Defined in: ui/src/replay.ts:121

A floating strip at the top of the chart while a replay runs: back one bar, play or pause, step forward, speed, random bar and exit. While a bar is picked for a replay it offers only random bar and exit. Hidden otherwise. While the replay is paused or ended, a click on a bar restarts it there.

Parameters ​

chart ​

Chart

Returns ​

ReplayControlsHandle