|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ChartType>
com.smartgwt.client.types.ChartType
public enum ChartType
Known chart types. These are visual representations of data, not separate data models, although some chart types are only capable of showing a single facet of data.
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 Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
String |
getValue()
|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ChartType AREA
public static final ChartType COLUMN
public static final ChartType BAR
public static final ChartType LINE
public static final ChartType RADAR
public static final ChartType PIE
public static final ChartType DOUGHNUT
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String getValue()
getValue in interface ValueEnum
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||