Package com.iizix.prop.ui.chart.plot2d
Enum Class PlotOption
- All Implemented Interfaces:
IPropCnrBoolean
,Serializable
,Comparable<PlotOption>
,Constable
The Plot2D boolean settings the can be set or retrieved.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionWhether or not to draw areas on this plot.Whether the markers are cached from one rendering to another.Whether a fixed precision must be applied to data values for display.Grid option whether to show lines at the major ticks along the horizontal axis.Grid option whether to show lines at the minor ticks along the horizontal axis.Grid option whether to show horizontal stripes.Whether or not to use HTML to render labels.Whether when there is a null data point in the data the plot interpolates it or if the lines is split at that point.Whether or not to draw labels on this plot.Whether or not to draw lines on this plot.Whether or not to draw markers at data points on this plot.Whether labels of slices small to the point of not being visible are omitted.Grid option whether or not the grid is rendered when drawn at horizontal or vertical axis position.Whether or not to draw lines on this plot.Grid option whether to show lines at the major ticks along the vertical axis.Grid option whether to show lines at the major ticks along the vertical axis.Grid option whether to show vertical stripes.Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the default value when the property is not set.Returns the name of the property, usually starting with '$'.static PlotOption
Returns the enum constant of this class with the specified name.static PlotOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
LABELS
Whether or not to draw labels on this plot.Defaults to true.
HTML_LABELS
Whether or not to use HTML to render labels.Defaults to true.
OMIT_LABELS
Whether labels of slices small to the point of not being visible are omitted.Default false.
TICKS
Whether or not to draw lines on this plot.Default varies depending on the plot.
LINES
Whether or not to draw lines on this plot.Defaults to true.
AREAS
Whether or not to draw areas on this plot.Defaults to false.
MARKERS
Whether or not to draw markers at data points on this plot.Default is false.
FIXED
Whether a fixed precision must be applied to data values for display.Default is true.
ENABLE_CACHE
Whether the markers are cached from one rendering to another. This improves the rendering performance of successive rendering but penalize the first rendering.Default false.
INTERPOLATE
Whether when there is a null data point in the data the plot interpolates it or if the lines is split at that point.Default false.
H_MAJOR_LINES
Grid option whether to show lines at the major ticks along the horizontal axis.Default is true.
H_MINOR_LINES
Grid option whether to show lines at the minor ticks along the horizontal axis.Default is false.
V_MAJOR_LINES
Grid option whether to show lines at the major ticks along the vertical axis.Default is true.
V_MINOR_LINES
Grid option whether to show lines at the major ticks along the vertical axis.Default is false.
H_STRIPES
Grid option whether to show horizontal stripes.Default is false.
V_STRIPES
Grid option whether to show vertical stripes.Default is false.
RENDER_ON_AXIS
Grid option whether or not the grid is rendered when drawn at horizontal or vertical axis position.Default is true.
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
getDefaultValue
public boolean getDefaultValue()Gets the default value when the property is not set.- Specified by:
getDefaultValue
in interfaceIPropCnrBoolean
getPropName
Returns the name of the property, usually starting with '$'.- Specified by:
getPropName
in interfaceIPropCnrBoolean