public enum PlotStyle extends Enum<PlotStyle>
Enum Constant and Description |
---|
AREA
An area chart.
|
BAR
A bar chart.
|
ERROR_BAR
An error bar plot.
|
HISTOGRAM
A histogram chart.
|
LINE
A line chart.
|
OHLC
An open-high-low-close chart.
|
PIE
A pie chart.
|
SCATTER
A scatter plot.
|
STACKED_AREA
A stacked area chart.
|
STACKED_BAR
A stacked bar chart.
|
STEP |
Modifier and Type | Method and Description |
---|---|
static PlotStyle |
plotStyle(String style)
Gets the corresponding PlotStyle of
style . |
static String[] |
plotStyleNames()
Gets the names of available PlotStyles.
|
static PlotStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlotStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlotStyle BAR
public static final PlotStyle STACKED_BAR
public static final PlotStyle LINE
public static final PlotStyle AREA
public static final PlotStyle STACKED_AREA
public static final PlotStyle PIE
public static final PlotStyle HISTOGRAM
public static final PlotStyle OHLC
public static final PlotStyle SCATTER
public static final PlotStyle STEP
public static final PlotStyle ERROR_BAR
public static PlotStyle[] values()
for (PlotStyle c : PlotStyle.values()) System.out.println(c);
public static PlotStyle 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 static PlotStyle plotStyle(String style)
style
.style
- case insensitive style nameIllegalArgumentException
- style
must not be nullpublic static String[] plotStyleNames()