LiveChartTransition
Cross-fades between chart instances bykey — handy when switching symbols, timeframes, or
line/candle layouts.
string
required
Key of the active child to show. Must match a child’s
key.ReactNode
required
Chart elements, each with a unique
key.number
default:"300"
Cross-fade duration in ms.
boolean
default:"false"
Keep every child mounted so switching is a pure cross-fade (no reveal/range re-animation).
Costs more — all engines run continuously.
ViewStyle
Container style.
Formatters
Both formatters are worklet-safe, so you can pass them toformatValue / formatTime or call
them inside your own worklets.
(v: number) => string
Adaptive value formatter with compact
K / M suffixes.(t: number) => string
HH:MM:SS formatter for a unix-seconds timestamp.MONO_FONT_FAMILY
A platform-appropriate monospace family name ("Menlo" on iOS, "monospace" elsewhere) — useful
for matching surrounding RN Text to the chart’s mono look.