Enum Class JfcPlotStyle
- All Implemented Interfaces:
Serializable
,Comparable<JfcPlotStyle>
,java.lang.constant.Constable
Style of 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 ConstantsEnum ConstantDescriptionAn area chart.A bar chart.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. -
Method Summary
Modifier and TypeMethodDescriptionnewCategoryRenderer
(AxisFormat xAxisFormat, AxisFormat yAxisFormat, PlotInfo plotInfo) newXYRenderer
(AxisFormat xAxisFormat, AxisFormat yAxisFormat, PlotInfo plotInfo) void
setDataset
(LambdaGovernor governor, CustomCategoryPlot plot, AxesImpl axes, CategoryDataSetCollection data) void
setDataset
(LambdaGovernor governor, CustomXYPlot plot, AxesImpl axes, OHLCDataSetCollection data) void
setDataset
(LambdaGovernor governor, CustomXYPlot plot, AxesImpl axes, XYDataSetCollection data) void
setDataset
(LambdaGovernor governor, org.jfree.chart.plot.PiePlot plot, AxesImpl axes, CategoryDataSetCollection data) static JfcPlotStyle
Gets the corresponding JfcPlotStyle.static JfcPlotStyle
Returns the enum constant of this class with the specified name.static JfcPlotStyle[]
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
-
-
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
-
newCategoryRenderer
public CustomCategoryItemRenderer newCategoryRenderer(AxisFormat xAxisFormat, AxisFormat yAxisFormat, PlotInfo plotInfo) -
newXYRenderer
public CustomXYRenderer newXYRenderer(AxisFormat xAxisFormat, AxisFormat yAxisFormat, PlotInfo plotInfo) -
setDataset
public void setDataset(LambdaGovernor governor, CustomXYPlot plot, AxesImpl axes, XYDataSetCollection data) -
setDataset
public void setDataset(LambdaGovernor governor, CustomXYPlot plot, AxesImpl axes, OHLCDataSetCollection data) -
setDataset
public void setDataset(LambdaGovernor governor, CustomCategoryPlot plot, AxesImpl axes, CategoryDataSetCollection data) -
setDataset
public void setDataset(LambdaGovernor governor, org.jfree.chart.plot.PiePlot plot, AxesImpl axes, CategoryDataSetCollection data) -
valueOf
Gets the corresponding JfcPlotStyle.- Parameters:
style
- plot style- Returns:
- the JfcPlotStyle
- Throws:
IllegalArgumentException
-style
must not be null
-