ChartThemeModeExtension extension

Extension helper on ChartThemeMode to retrieve the theme name string.

This string name is passed to the ECharts JS library initialization and must match ECharts registered theme names.

on

Properties

name String

Available on ChartThemeMode, provided by the ChartThemeModeExtension extension

Gets the theme name string corresponding to the enum value.
no setter

Static Methods

fromName(String? name) ChartThemeMode

Available on ChartThemeMode, provided by the ChartThemeModeExtension extension

Creates a ChartThemeMode from a JS theme name string.