Enum Class ChartTheme
- All Implemented Interfaces:
IPropCnrChoiceOption<IChartChoiceOption>, IChartChoiceOption, Serializable, Comparable<ChartTheme>, Constable
The chart theme option.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescription--- Classic ------ Gradients ---Follows the IIZI theme of the page, light or dark: the text, axis, grid, indicator and legend colours are read from the theme's CSS tokens (--iz-fg,--iz-fg2,--iz-div,--iz-bg2) each time the chart is rendered, and the chart is rendered again when the theme or the colour scheme changes, so it carries no colour of its own.--- PlotKit ---Method Summary
Modifier and TypeMethodDescriptionGets all the choices possible, including default.Gets the default value.intgetInt()Returns the choice as an integer value.Gets the property name.static ChartThemeReturns the enum constant of this class with the specified name.static ChartTheme[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
Gradient_Julie
--- Gradients ---Gradient_ThreeD
Gradient_Chris
Gradient_Tom
Gradient_Claro
Gradient_PrimaryColors
Gradient_Electric
Gradient_Charged
Gradient_Renkoo
Classic_Adobebricks
--- Classic ---Classic_Algae
Classic_Bahamation
Classic_BlueDusk
Classic_CubanShirts
Classic_Desert
Classic_Distinctive
Classic_Dollar
Classic_Grasshopper
Classic_Grasslands
Classic_GreySkies
Classic_Harmony
Classic_IndigoNation
Classic_Ireland
Classic_MiamiNice
Classic_Midwest
Classic_Minty
Classic_PurpleRain
Classic_RoyalPurples
Classic_SageToLime
Classic_Shrooms
Classic_Tufte
Classic_WatersEdge
Classic_Wetland
PlotKit_blue
--- PlotKit ---PlotKit_cyan
PlotKit_green
PlotKit_orange
PlotKit_purple
PlotKit_red
IIZI
Follows the IIZI theme of the page, light or dark: the text, axis, grid, indicator and legend colours are read from the theme's CSS tokens (--iz-fg,--iz-fg2,--iz-div,--iz-bg2) each time the chart is rendered, and the chart is rendered again when the theme or the colour scheme changes, so it carries no colour of its own. The series colours are the tokens--iz-chart-1to--iz-chart-8when the theme defines them, otherwise colours generated from the accent token--iz-acc. The chart and plot area backgrounds are transparent: the component's background shows.
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
getDefault
Gets the default value. This value is used to initialize the property.- Specified by:
getDefaultin interfaceIPropCnrChoiceOption<IChartChoiceOption>- Returns:
Gradient_Julie.
enumValues
Gets all the choices possible, including default.- Specified by:
enumValuesin interfaceIPropCnrChoiceOption<IChartChoiceOption>
getInt
public int getInt()Returns the choice as an integer value.- Specified by:
getIntin interfaceIPropCnrChoiceOption<IChartChoiceOption>
getPropName
Gets the property name.- Specified by:
getPropNamein interfaceIPropCnrChoiceOption<IChartChoiceOption>