Interface: ICustomThemesApi
Charting Library.ICustomThemesApi
An API for controlling custom themes.
Methods
applyCustomThemes
▸ applyCustomThemes(customThemes
): Promise
<void
>
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.
Parameters
Name | Type | Description |
---|---|---|
customThemes | CustomThemes | Custom theme color definitions |
Returns
Promise
<void
>
resetCustomThemes
▸ resetCustomThemes(): Promise
<void
>
Reset the widget's color theme colors back to the default values.
Returns
Promise
<void
>