Skip to content

charton API


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

Interface: AppearancePatch ​

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

User color choices layered over the theme. An undefined value removes that override.

Extended by ​

Properties ​

grid? ​

optional grid?: GridOptionsPatch

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


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.


theme? ​

optional theme?: Partial<ChartTheme>

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


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.


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.