Class OHLCDataSetCollection

java.lang.Object
org.jfree.data.general.AbstractDataset
All Implemented Interfaces:
DataSetCollection<OHLCDataSeriesInternal>, XYRangedDataSetCollection<OHLCDataSeriesInternal>, PlotExceptionCause, DataChangeListener, ObjectInputValidation, Serializable, Cloneable, org.jfree.data.general.Dataset, org.jfree.data.general.SeriesDataset, org.jfree.data.xy.OHLCDataset, org.jfree.data.xy.XYDataset
Direct Known Subclasses:
TransformedOHLCDataSetCollection

public class OHLCDataSetCollection
extends AbstractXYDataSetCollection<OHLCDataSeriesInternal>
implements org.jfree.data.xy.OHLCDataset
Collection of OHLCDataSeriesInternal.
See Also:
Serialized Form
  • Constructor Details

    • OHLCDataSetCollection

      public OHLCDataSetCollection​(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)
      Creates an OHLCDataSetCollection instance.
      Parameters:
      axes - corresponding axes for datasetcollection
      governor - update throttle
      dynamicSeriesNamer - utility to name dynamically generated series
      notifyDataChanged - whether to fire dataset changed events
  • Method Details

    • createNewSnapshot

      public OHLCDataSetCollection createNewSnapshot​(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)
      Specified by:
      createNewSnapshot in class AbstractXYDataSetCollection<OHLCDataSeriesInternal>
    • getHigh

      public Number getHigh​(int series, int item)
      Specified by:
      getHigh in interface org.jfree.data.xy.OHLCDataset
    • getHighValue

      public double getHighValue​(int series, int item)
      Specified by:
      getHighValue in interface org.jfree.data.xy.OHLCDataset
    • getLow

      public Number getLow​(int series, int item)
      Specified by:
      getLow in interface org.jfree.data.xy.OHLCDataset
    • getLowValue

      public double getLowValue​(int series, int item)
      Specified by:
      getLowValue in interface org.jfree.data.xy.OHLCDataset
    • getOpen

      public Number getOpen​(int series, int item)
      Specified by:
      getOpen in interface org.jfree.data.xy.OHLCDataset
    • getOpenValue

      public double getOpenValue​(int series, int item)
      Specified by:
      getOpenValue in interface org.jfree.data.xy.OHLCDataset
    • getClose

      public Number getClose​(int series, int item)
      Specified by:
      getClose in interface org.jfree.data.xy.OHLCDataset
    • getCloseValue

      public double getCloseValue​(int series, int item)
      Specified by:
      getCloseValue in interface org.jfree.data.xy.OHLCDataset
    • getVolume

      public Number getVolume​(int series, int item)
      Specified by:
      getVolume in interface org.jfree.data.xy.OHLCDataset
    • getVolumeValue

      public double getVolumeValue​(int series, int item)
      Specified by:
      getVolumeValue in interface org.jfree.data.xy.OHLCDataset