Skip to content

Documentation / @ripl/charts / registerTheme

Function: registerTheme() ​

registerTheme(name, theme): void

Defined in: charts/src/core/theme.ts:113

Registers a named theme so it can be selected by name via the theme option or resolveTheme.

Parameters ​

ParameterType
namestring
themeTheme

Returns ​

void