Enum Class ChartOption
- All Implemented Interfaces:
IPropCnrBoolean, Serializable, Comparable<ChartOption>, Constable
The chart boolean settings the can be set or retrieved.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhether or not the chart shows a legend: one entry per series, the series name with a swatch of its colour, using the dojox chartLegendwidget.Whether the legend is selectable, i.e.Method Summary
Modifier and TypeMethodDescriptionbooleanGets the default value when the property is not set.Returns the name of the property, usually starting with '$'.static ChartOptionReturns the enum constant of this class with the specified name.static ChartOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
LEGEND
Whether or not the chart shows a legend: one entry per series, the series name with a swatch of its colour, using the dojox chartLegendwidget. The legend is placed at theLegendPositionof the chart and follows the series of the chart, i.e. it is rebuilt when a series is added, removed or renamed.Defaults to false.
LEGEND_SELECTABLE
Whether the legend is selectable, i.e. the dojox chartSelectableLegendwidget with a check box per entry: clicking an entry hides or shows its series in the client. The selection is a client-side view state only, it is not sent to the server and does not change the$hiddenoption of the series. It is kept when the chart is rendered again in the same client. WithoutLEGENDthis option has no effect.Defaults to false.
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
getDefaultValue
public boolean getDefaultValue()Gets the default value when the property is not set.- Specified by:
getDefaultValuein interfaceIPropCnrBoolean
getPropName
Returns the name of the property, usually starting with '$'.- Specified by:
getPropNamein interfaceIPropCnrBoolean