Constants
Constants and presets exported by @reincharts/widget.
CHART_TYPE_IDS
Every chart type id, in chart type menu order (unknown ids in a saved state fall back to "candles").
const CHART_TYPE_IDS: readonly ["candles", "hollowCandles", "bars", "heikinAshi", "line", "stepLine", "area", "baseline", "columns", "hlcArea", "renko", "kagi", "pointAndFigure", "lineBreak"]CHART_TYPES
Every chart type, in menu order.
const CHART_TYPES: readonly ChartTypeInfo[]LAYOUTS
Every multi-chart layout id, in layout menu order.
const LAYOUTS: readonly ["single", "2h", "2v", "3", "4"]PRICE_PANE
Id of the main (price) pane. Overlay indicators use it as their paneId.
const PRICE_PANE: "price"RANGE_PRESETS
Range buttons of the bottom bar, in display order ("All" fits every loaded bar).
const RANGE_PRESETS: readonly RangePreset[]SCALE_MODES
Every price scale mode: linear, logarithmic, percent change from the first visible bar, indexed to 100.
const SCALE_MODES: readonly ["linear", "log", "percent", "indexed"]