org.hackystat.projectbrowser.googlechart
Enum ChartType

java.lang.Object
  extended by java.lang.Enum<ChartType>
      extended by org.hackystat.projectbrowser.googlechart.ChartType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ChartType>

public enum ChartType
extends java.lang.Enum<ChartType>

Enumeration for Google Chart Type.

Author:
Shaoxuan Zhang

Enum Constant Summary
HORIZONTAL_GROUP_BAR
          horizontal bars that present data from different data sets in different bars.
HORIZONTAL_SERIES_BAR
          horizontal bars that present data from different data sets in a single bar.
LINE
          line chart.
PIE
          pie chart.
PIE_3D
          3D pie chart.
RADAR
          radar chart.
SCATTER_PLOTS
          scatter plots chart.
SPARK_LINE
          spark line chart.
SPLINE_RADAR
          spline radar chart.
VENN_DIAGRAMS
          venn diagrams chart.
VERTICAL_GROUP_BAR
          vertical bars that present data from different data sets in different bars.
VERTICAL_SERIES_BAR
          vertical bars that present data from different data set in a single bar.
 
Method Summary
 java.lang.String abbrev()
           
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.
 
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

LINE

public static final ChartType LINE
line chart.


SPARK_LINE

public static final ChartType SPARK_LINE
spark line chart.


HORIZONTAL_SERIES_BAR

public static final ChartType HORIZONTAL_SERIES_BAR
horizontal bars that present data from different data sets in a single bar.


VERTICAL_SERIES_BAR

public static final ChartType VERTICAL_SERIES_BAR
vertical bars that present data from different data set in a single bar.


HORIZONTAL_GROUP_BAR

public static final ChartType HORIZONTAL_GROUP_BAR
horizontal bars that present data from different data sets in different bars.


VERTICAL_GROUP_BAR

public static final ChartType VERTICAL_GROUP_BAR
vertical bars that present data from different data sets in different bars.


PIE

public static final ChartType PIE
pie chart.


PIE_3D

public static final ChartType PIE_3D
3D pie chart.


VENN_DIAGRAMS

public static final ChartType VENN_DIAGRAMS
venn diagrams chart.


SCATTER_PLOTS

public static final ChartType SCATTER_PLOTS
scatter plots chart.


RADAR

public static final ChartType RADAR
radar chart.


SPLINE_RADAR

public static final ChartType SPLINE_RADAR
spline radar chart.

Method Detail

values

public static ChartType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ChartType c : ChartType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ChartType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

abbrev

public java.lang.String abbrev()
Returns:
the abbrev