public enum ChartType extends java.lang.Enum<ChartType> implements ValueEnum
Concrete charting implementations may use any value for
chartType
but should support the provided chartType
values for charts that correspond to the
visual presentation described below, to enable easy switching between charting engines.
Enum Constant and Description |
---|
AREA
Values represented by area, with stacked values representing multiple facet values.
|
BAR
Values represented by horizontal bars.
|
COLUMN
Values represented by vertical columns.
|
DOUGHNUT
Like a pie chart with a central hole.
|
LINE
Values represented by a lines between data points, or stacked areas for multiple facets.
|
PIE
Circular chart with wedges representing values.
|
RADAR
Values represented on a circular background by a line around the center, or stacked areas for multiple facets
|
SCATTER
A chart with two continuous numeric axes and up to one discrete facet.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ChartType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChartType AREA
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "Area".
public static final ChartType COLUMN
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "Column".
public static final ChartType BAR
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "Bar".
public static final ChartType LINE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "Line".
public static final ChartType RADAR
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "Radar".
public static final ChartType PIE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "Pie".
public static final ChartType DOUGHNUT
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "Doughnut".
public static final ChartType SCATTER
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "Scatter".
public static ChartType[] values()
for (ChartType c : ChartType.values()) System.out.println(c);
public static ChartType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null