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 AREAAn area chart.BARA bar chart.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 CustomCategoryItemRenderernewCategoryRenderer(AxisFormat xAxisFormat, AxisFormat yAxisFormat, PlotInfo plotInfo)CustomXYRenderernewXYRenderer(AxisFormat xAxisFormat, AxisFormat yAxisFormat, PlotInfo plotInfo)voidsetDataset(LambdaGovernor governor, CustomCategoryPlot plot, AxesImpl axes, CategoryDataSetCollection data)voidsetDataset(LambdaGovernor governor, CustomXYPlot plot, AxesImpl axes, OHLCDataSetCollection data)voidsetDataset(LambdaGovernor governor, CustomXYPlot plot, AxesImpl axes, XYDataSetCollection data)voidsetDataset(LambdaGovernor governor, org.jfree.chart.plot.PiePlot plot, AxesImpl axes, CategoryDataSetCollection data)static JfcPlotStylevalueOf(PlotStyle style)Gets the corresponding JfcPlotStyle.static JfcPlotStylevalueOf(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-stylemust not be null
-