Props
Every prop has a default, so the component renders as it is. Change any of them in Studio or in code.
datalist
The candles, oldest first. Open, high, low, close.
startDatestring = "2026-02-02"
Date of the first candle, YYYY-MM-DD. Candles fall on weekdays.
titlestring = "ACME"
Heading.
subtitlestring = "Daily price, last 44 sessions"
Muted line under the heading.
modelight | dark = "light"
Colour theme: light or dark.
paletteprimary | monochrome | ocean | sunset | grove | vivid = "primary"
Chart palette: primary (indigo, yellow, fuchsia, mist, black), monochrome, ocean, sunset, grove or vivid.
format.prefixstring
Before the number, e.g. "$".
format.suffixstring
After the number, e.g. "%" or "k".
format.decimalsinteger
Digits after the decimal point.
format.groupstring
Thousands separator, a comma by default. Empty for none.
printSecondsnumber = 4
How long the candles take to print.
holdSecondsnumber = 1.6
How long the last frame holds.
camera.tightZoomnumber = 2.6
Zoom while riding the newest candle.
camera.wideZoomnumber = 1
Zoom of the whole chart.
camera.leadnumber = 300
Screen pixels the camera leads the newest candle by.
camera.motionBlurnumber = 1
Strength of the motion blur on the fast moves; 0 turns it off.
camera.rackFocusnumber = 4
Blur in pixels on the grid and labels while the shot is tight.
camera.driftnumber = 3
Handheld drift in pixels on the holds.
Compositions
- CandlestickChart