Documentation / @ripl/charts / setDefaultTheme
Function: setDefaultTheme() ​
setDefaultTheme(
theme):void
Defined in: charts/src/core/theme.ts:127
Sets the module-level default theme applied to charts that do not specify their own theme.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
theme | string | Theme | A registered theme name ('light', 'dark', 'auto', or a custom name) or a Theme. |
Returns ​
void