Package com.illumon.iris.db.plot
Enum PlotStyle
- All Implemented Interfaces:
Serializable,Comparable<PlotStyle>,java.lang.constant.Constable
public enum PlotStyle extends Enum<PlotStyle>
The style of a plot (e.g. line, bar, etc.).
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AREAAn area chart.BARA bar chart.ERROR_BARAn error bar plot.HISTOGRAMA histogram chart.LINEA line chart.OHLCAn open-high-low-close chart.PIEA pie chart.SCATTERA scatter plot.STACKED_AREAA stacked area chart.STACKED_BARA stacked bar chart.STEP -
Method Summary
Modifier and Type Method Description static PlotStyleplotStyle(String style)Returns the requested plot style.static String[]plotStyleNames()Returns the names of available plot styles.static PlotStylevalueOf(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.
-
Enum Constant Details
-
BAR
A bar chart. -
STACKED_BAR
A stacked bar chart. -
LINE
A line chart. Does not display shapes at data points by default. -
AREA
An area chart. Does not display shapes at data points by default. -
STACKED_AREA
A stacked area chart. Does not display shapes at data points by default. -
PIE
A pie chart. -
HISTOGRAM
A histogram chart. -
OHLC
An open-high-low-close chart. -
SCATTER
A scatter plot. Lines are not displayed by default. -
STEP
-
ERROR_BAR
An error bar plot. Points are not displayed by default.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
plotStyle
Returns the requested plot style.- Parameters:
style- case insensitive style name- Returns:
- PlotStyle with the given name
- Throws:
IllegalArgumentException-stylemust not be null
-
plotStyleNames
Returns the names of available plot styles.- Returns:
- array of the PlotStyle names
-