Package net.pricefx.common.api.chart
Enum ChartType
-
- All Implemented Interfaces:
Serializable
,Comparable<ChartType>
public enum ChartType extends Enum<ChartType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAR
BOXPLOT
BUBBLE
DATATABLE
HEATMAP
HISTOGRAM
PIE
PRODUCTDATA
SCATTER
TIMESERIES
TIMESERIES_DATETIME
TIMESERIES_SCATTER
WATERFALL
WATERFALLCOMPARISON
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isChartType(String chartType)
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.
-
-
-
Enum Constant Detail
-
SCATTER
public static final ChartType SCATTER
-
TIMESERIES_SCATTER
public static final ChartType TIMESERIES_SCATTER
-
WATERFALL
public static final ChartType WATERFALL
-
BUBBLE
public static final ChartType BUBBLE
-
BAR
public static final ChartType BAR
-
PIE
public static final ChartType PIE
-
WATERFALLCOMPARISON
public static final ChartType WATERFALLCOMPARISON
-
TIMESERIES
public static final ChartType TIMESERIES
-
TIMESERIES_DATETIME
public static final ChartType TIMESERIES_DATETIME
-
HISTOGRAM
public static final ChartType HISTOGRAM
-
PRODUCTDATA
public static final ChartType PRODUCTDATA
-
DATATABLE
public static final ChartType DATATABLE
-
BOXPLOT
public static final ChartType BOXPLOT
-
HEATMAP
public static final ChartType HEATMAP
-
-
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(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isChartType
public static boolean isChartType(String chartType)
-
-