Skip to content

charton API


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

Function: createAppearance() ​

createAppearance(chart, options?): AppearanceHandle

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

Chart colors the user can change: candles, background, grid, scales and text, crosshair and watermark, each with opacity. Choices are overrides on top of the theme, applied live and saved through storage.

Parameters ​

chart ​

Chart

options? ​

AppearanceOptions = {}

Returns ​

AppearanceHandle