public enum ChartType extends Enum<ChartType> implements Type
Enum Constant and Description |
---|
BAR
A bar chart provides a way of showing data values represented as vertical bars.
|
BUBBLE
A bubble chart is used to display three dimensions of data at the same time.
|
DOUGHNUT
Doughnut chart is probably the most commonly used chart.
|
LINE
A line chart is a way of plotting data points on a line.
|
PIE
Pie chart is probably the most commonly used chart.
|
POLAR_AREA
Polar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value.
|
RADAR
A radar chart is a way of showing multiple data points and the variation between them.
|
SCATTER
Scatter charts are based on basic line charts with the x axis changed to a linear axis.
|
Modifier and Type | Method and Description |
---|---|
ScaleType |
scaleType()
Returns the scale type of the chart.
|
String |
value()
Returns the name value of property
|
static ChartType |
valueOf(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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, isValid
checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final ChartType LINE
public static final ChartType BAR
public static final ChartType PIE
public static final ChartType DOUGHNUT
public static final ChartType RADAR
public static final ChartType POLAR_AREA
public static final ChartType SCATTER
public static final ChartType BUBBLE
public static ChartType[] values()
for (ChartType c : ChartType.values()) System.out.println(c);
public static ChartType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ScaleType scaleType()
Type