Skip to content

charton API


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

Interface: SymbolHeaderPresetOptions ​

Defined in: ui/src/toolbar-presets.ts:129

Options of the symbolHeader toolbar preset.

Properties ​

detail? ​

optional detail?: (info) => string | undefined

Defined in: ui/src/toolbar-presets.ts:135

Smaller text after it. Default the exchange; return undefined for none.

Parameters ​

info ​

SymbolInfo

Returns ​

string | undefined


format? ​

optional format?: (info) => string

Defined in: ui/src/toolbar-presets.ts:133

Text for the symbol. Default its name.

Parameters ​

info ​

SymbolInfo

Returns ​

string


id? ​

optional id?: string

Defined in: ui/src/toolbar-presets.ts:131

Default 'symbol'.