Skip to content

charton API


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

Interface: IndicatorTemplatesOptions ​

Defined in: ui/src/indicator-templates.ts:37

Options for createIndicatorTemplates, and the shell's indicatorTemplates option.

Properties ​

container? ​

optional container?: HTMLElement

Defined in: ui/src/indicator-templates.ts:47

Element the dialogs cover. Default the shell around the chart, else the chart's root.


presets? ​

optional presets?: readonly IndicatorTemplate[]

Defined in: ui/src/indicator-templates.ts:45

Read-only templates listed under Technicals. Default indicatorTemplatePresets.


storage? ​

optional storage?: StorageAdapter | null

Defined in: ui/src/indicator-templates.ts:43

Where "My templates" are kept: the 'indicator-set' templates of a storage adapter. Default createLocalStorageAdapter(); null lists none and turns saving off.