Package io.deephaven.plot
Enum Class PlotStyle
- All Implemented Interfaces:
Serializable
,Comparable<PlotStyle>
,java.lang.constant.Constable
The style of a plot (e.g. line, bar, etc.).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn area chart.A bar chart.An error bar plot.A histogram chart.A line chart.An open-high-low-close chart.A pie chart.A scatter plot.A stacked area chart.A stacked bar chart.A step plot.A treemap plot. -
Method Summary
Modifier and TypeMethodDescriptionstatic PlotStyle
Returns the requested plot style.static String[]
Returns the names of available plot styles.static PlotStyle
Returns the enum constant of this class with the specified name.static PlotStyle[]
values()
Returns an array containing the constants of this enum class, 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
A step plot. -
ERROR_BAR
An error bar plot. Points are not displayed by default. -
TREEMAP
A treemap plot.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
-style
must not be null
-
plotStyleNames
Returns the names of available plot styles.- Returns:
- array of the PlotStyle names
-