Skip to content

charton API


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

Interface: SavedAppearance ​

Defined in: ui/src/appearance.ts:241

What appearance storage keeps: the overrides and the id of the colour preset under them; null when the user chose the default theme, missing when nothing was chosen yet (the default preset then applies).

Extends ​

Properties ​

grid? ​

optional grid?: GridOptionsPatch

Defined in: ui/src/appearance.ts:29

Inherited from ​

AppearancePatch.grid


optional logo?: boolean

Defined in: ui/src/appearance.ts:33

Show the project logo badge (the chart's features.attributionLogo); unset keeps what the app set.

Inherited from ​

AppearancePatch.logo


preset? ​

optional preset?: string | null

Defined in: ui/src/appearance.ts:242


theme? ​

optional theme?: Partial<ChartTheme>

Defined in: ui/src/appearance.ts:28

Inherited from ​

AppearancePatch.theme


watermarkSizes? ​

optional watermarkSizes?: WatermarkSizes

Defined in: ui/src/appearance.ts:35

Font sizes of the watermark lines in css px: the name, the symbol and the interval.

Inherited from ​

AppearancePatch.watermarkSizes


watermarkText? ​

optional watermarkText?: string

Defined in: ui/src/appearance.ts:31

Line above the symbol in the chart's watermark (chart.watermark option author), e.g. the user's name.

Inherited from ​

AppearancePatch.watermarkText