i-net Clear Reports

com.inet.report.chart.plot
Class StockStyle

java.lang.Object
  extended by com.inet.report.chart.plot.ChartStyle
      extended by 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 plot StockPlot.

Since:
8.0
See Also:
STOCK_HIGH_LOW, STOCK_HIGH_LOW_OPEN_CLOSE, Serialized Form

Field Summary
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
 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 class ChartStyle

getDefaultPlot

public AbstractPlot getDefaultPlot()
Creates a new stock plot and initializes the plot with default settings.

Specified by:
getDefaultPlot in class ChartStyle
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 class ChartStyle
Parameters:
chart - the chart
Returns:
the list of datasets.
See Also:
Chart2

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH