Skip to main content
Version: latest

ICustomThemesApi

Interface

An API for controlling custom themes.

Methods

applyCustomThemes

Apply custom theme color definitions to the charting library widget.

This has the same effect as using the widget constructor option but can be applied after the widget is created.

Signature

applyCustomThemes(customThemes: CustomThemes) => Promise<void>

Parameters

NameTypeDescription
customThemesCustomThemesCustom theme color definitions

Returns

Promise<void>


resetCustomThemes

Reset the widget's color theme colors back to the default values.

Signature

resetCustomThemes() => Promise<void>

Returns

Promise<void>