Package com.inet.report.chart.plot
Class StockStyle
- java.lang.Object
-
- com.inet.report.chart.plot.ChartStyle
-
- com.inet.report.chart.plot.StockStyle
-
- All Implemented Interfaces:
java.io.Serializable
public class StockStyle extends ChartStyle
This class defines the different styles of the stock chart. This style belongs to the plotStockPlot
.- Since:
- 8.0
- See Also:
STOCK_HIGH_LOW
,STOCK_HIGH_LOW_OPEN_CLOSE
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StockStyle
STOCK_HIGH_LOW
The high - low stock chart style.static StockStyle
STOCK_HIGH_LOW_OPEN_CLOSE
The high - low open - close stock chart style.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List
getAllowedDatasets(Chart2 chart)
Returns the list of dataset supported by this chart style.AbstractPlot
getDefaultPlot()
Creates a new stock plot and initializes the plot with default settings.-
Methods inherited from class com.inet.report.chart.plot.ChartStyle
hashCode, toString
-
-
-
-
Field Detail
-
STOCK_HIGH_LOW
public static final StockStyle STOCK_HIGH_LOW
The high - low stock chart style.
-
STOCK_HIGH_LOW_OPEN_CLOSE
public static final StockStyle STOCK_HIGH_LOW_OPEN_CLOSE
The high - low open - close stock chart style.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classChartStyle
-
getDefaultPlot
public AbstractPlot getDefaultPlot()
Creates a new stock plot and initializes the plot with default settings.- Specified by:
getDefaultPlot
in classChartStyle
- Returns:
- the plot of type
StockPlot
. - Since:
- 8.0
- See Also:
AbstractPlot
-
getAllowedDatasets
public java.util.List getAllowedDatasets(Chart2 chart)
Returns the list of dataset supported by this chart style.- Specified by:
getAllowedDatasets
in classChartStyle
- Parameters:
chart
- the chart- Returns:
- the list of datasets.
- See Also:
Chart2
-
-