Interface JRHighLowDataset

All Superinterfaces:
Cloneable, DatasetRunHolder, JRChartDataset, JRCloneable, JRElementDataset
All Known Implementing Classes:
JRBaseHighLowDataset, JRDesignHighLowDataset, JRFillHighLowDataset

public interface JRHighLowDataset extends JRChartDataset
Although the name of this dataset is "High-Low", it can actually hold a series of (x, high, low, open, close, volume) items. It is used in combination with either a High-Low or a Candlestick chart.
Author:
Ionut Nedelcu (ionutned@users.sourceforge.net)
  • Method Details

    • getSeriesExpression

      JRExpression getSeriesExpression()
      Returns:
      the expression of the series name. Currently only one series is supported inside a High-Low or Candlestick chart. This limitation is documented inside JFreeChart, the library used for the built-in chart support. However, this single series must be identified by a java.lang.Comparable value returned by this expression, and it must also be used as the series name in the chart's legend.
    • getDateExpression

      JRExpression getDateExpression()
      Returns:
      the expression of the date to which the current (high, low, open, close, volume) item refers.
    • getHighExpression

      JRExpression getHighExpression()
      Returns:
      a numeric expression that will be part of the data item added to the series when the dataset gets incremented.
    • getLowExpression

      JRExpression getLowExpression()
      Returns:
      a numeric expression that will be part of the data item added to the series when the dataset gets incremented.
    • getOpenExpression

      JRExpression getOpenExpression()
      Returns:
      a numeric expression that will be part of the data item added to the series when the dataset gets incremented.
    • getCloseExpression

      JRExpression getCloseExpression()
      Returns:
      a numeric expression that will be part of the data item added to the series when the dataset gets incremented.
    • getVolumeExpression

      JRExpression getVolumeExpression()
      Returns:
      a numeric expression representing the volume value to use for the current data item. It is used only for Candlestick charts.
    • getItemHyperlink

      JRHyperlink getItemHyperlink()
      Returns the hyperlink specification for chart items.

      The hyperlink will be evaluated for every chart item and a image map will be created for the chart.

      Returns:
      hyperlink specification for chart items