Enum JfcPlotStyle
- All Implemented Interfaces:
Serializable
,Comparable<JfcPlotStyle>
,java.lang.constant.Constable
public enum JfcPlotStyle extends Enum<JfcPlotStyle>
Style of plot (e.g. line, bar, etc.).
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AREA
An area chart.BAR
A bar chart.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
-
Method Summary
Modifier and Type Method Description CustomCategoryItemRenderer
newCategoryRenderer(AxisFormat xAxisFormat, AxisFormat yAxisFormat, PlotInfo plotInfo)
CustomXYRenderer
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
valueOf(PlotStyle style)
Gets the corresponding JfcPlotStyle.static JfcPlotStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static JfcPlotStyle[]
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
-
-
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
-
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
-