OptionalariaOptionalconflateEnable OHLC-preserving conflation when zoomed out (§4.4). Default false.
OptionalconflationConflation aggressiveness (default 1).
OptionalcrosshairCrosshair behaviour. 'normal' (default) — the cross follows the pointer exactly. 'magnet' — the horizontal line snaps to the nearest O/H/L/C of the bar under the cursor (price pane only).
OptionaldocumentOptionalgridGrid line visibility. Both default to true.
OptionalnowTime source for kinetic animation (defaults to performance.now).
OptionalpixelOptionalpriceOptionalpriceCustom price formatter for every pane's axis tick labels, the last-price
tag, and price-line labels. e.g. (p) => '$' + p.toFixed(2). When omitted,
a tick-size-aware toFixed is used. Change it later via setPriceFormatter.
OptionalpriceDefault price-scale options applied to every pane (tick size minMove,
mode: 'linear' | 'logarithmic', inverted, and top/bottom margins).
Tune a single pane later via chart.panes()[n].priceScale.setOptions(...).
OptionalrafOptionalshortcutsKeyboard shortcuts. Pass a configured ShortcutManager, options to build
one, or false to disable keyboard control. Defaults to the built-in keymap.
OptionalthemeFull palette; pass darkTheme (default), lightTheme, or a custom ChartTheme.
OptionaltimeOptionaltimeCustom time-axis and crosshair label formatter (receives UTC seconds). When
omitted, labels use IST (Indian market default). e.g. for UTC:
(s) => new Date(s * 1000).toISOString().slice(11, 16).
OptionaltimeHover-revealed zoom / step controls above the time axis (TradingView-style).
true by default — they stay invisible until the pointer nears the bottom
of the chart. Pass false to drop them, or an options object to restyle.
Accessible label for the chart container (screen readers).