Package org.jfree.data.general
Class SubSeriesDataset
java.lang.Object
org.jfree.data.general.AbstractDataset
org.jfree.data.general.AbstractSeriesDataset
org.jfree.data.xy.AbstractXYDataset
org.jfree.data.xy.AbstractIntervalXYDataset
org.jfree.data.general.SubSeriesDataset
- All Implemented Interfaces:
ObjectInputValidation,Serializable,Cloneable,EventListener,CombinationDataset,Dataset,SeriesChangeListener,SeriesDataset,IntervalXYDataset,OHLCDataset,XYDataset
public class SubSeriesDataset
extends AbstractIntervalXYDataset
implements OHLCDataset, IntervalXYDataset, CombinationDataset
Deprecated.
As of version 1.0.13. This class will be removed from
JFreeChart 1.2.0 onwards. Anyone needing this facility will need to
maintain it outside of JFreeChart.
This class will create a dataset with one or more series from another
SeriesDataset.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSubSeriesDataset(SeriesDataset parent, int series) Deprecated.Creates a SubSeriesDataset using one series fromparent.SubSeriesDataset(SeriesDataset parent, int[] map) Deprecated.Creates a SubSeriesDataset using one or more series fromparent. -
Method Summary
Modifier and TypeMethodDescriptiongetClose(int series, int item) Deprecated.Returns the close-value for the specified series and item.doublegetCloseValue(int series, int item) Deprecated.Returns the close-value (as a double primitive) for an item within a series.getEndX(int series, int item) Deprecated.Returns the ending X value for the specified series and item.getEndY(int series, int item) Deprecated.Returns the ending Y value for the specified series and item.getHigh(int series, int item) Deprecated.Returns the high-value for the specified series and item.doublegetHighValue(int series, int item) Deprecated.Returns the high-value (as a double primitive) for an item within a series.intgetItemCount(int series) Deprecated.Returns the number of items in a series.getLow(int series, int item) Deprecated.Returns the low-value for the specified series and item.doublegetLowValue(int series, int item) Deprecated.Returns the low-value (as a double primitive) for an item within a series.int[]getMap()Deprecated.Returns a map or indirect indexing form our series into parent's series.getOpen(int series, int item) Deprecated.Returns the open-value for the specified series and item.doublegetOpenValue(int series, int item) Deprecated.Returns the open-value (as a double primitive) for an item within a series.Deprecated.Returns the parent Dataset of this combination.intDeprecated.Returns the number of series in the dataset.getSeriesKey(int series) Deprecated.Returns the key for a series.getStartX(int series, int item) Deprecated.Returns the starting X value for the specified series and item.getStartY(int series, int item) Deprecated.Returns the starting Y value for the specified series and item.getVolume(int series, int item) Deprecated.Returns the volume.doublegetVolumeValue(int series, int item) Deprecated.Returns the volume-value (as a double primitive) for an item within a series.getX(int series, int item) Deprecated.Returns the X-value for the specified series and item.getY(int series, int item) Deprecated.Returns the Y-value for the specified series and item.Methods inherited from class org.jfree.data.xy.AbstractIntervalXYDataset
getEndXValue, getEndYValue, getStartXValue, getStartYValueMethods inherited from class org.jfree.data.xy.AbstractXYDataset
getDomainOrder, getXValue, getYValueMethods inherited from class org.jfree.data.general.AbstractSeriesDataset
indexOf, seriesChangedMethods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, clone, fireDatasetChanged, getGroup, getNotify, hasListener, notifyListeners, removeChangeListener, setGroup, setNotify, validateObjectMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroupMethods inherited from interface org.jfree.data.xy.IntervalXYDataset
getEndXValue, getEndYValue, getStartXValue, getStartYValueMethods inherited from interface org.jfree.data.general.SeriesDataset
indexOfMethods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getXValue, getYValue
-
Constructor Details
-
SubSeriesDataset
Deprecated.Creates a SubSeriesDataset using one or more series fromparent. The series to use are passed as an array of int.- Parameters:
parent- underlying datasetmap- int[] of series from parent to include in this Dataset
-
SubSeriesDataset
Deprecated.Creates a SubSeriesDataset using one series fromparent. The series to is passed as an int.- Parameters:
parent- underlying datasetseries- series from parent to include in this Dataset
-
-
Method Details
-
getHigh
Deprecated.Returns the high-value for the specified series and item.Note: throws
ClassCastExceptionif the series if not from aOHLCDataset.- Specified by:
getHighin interfaceOHLCDataset- Parameters:
series- the index of the series of interest (zero-based).item- the index of the item of interest (zero-based).- Returns:
- The high-value for the specified series and item.
-
getHighValue
Deprecated.Returns the high-value (as a double primitive) for an item within a series.- Specified by:
getHighValuein interfaceOHLCDataset- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The high-value.
-
getLow
Deprecated.Returns the low-value for the specified series and item.Note: throws
ClassCastExceptionif the series if not from aOHLCDataset.- Specified by:
getLowin interfaceOHLCDataset- Parameters:
series- the index of the series of interest (zero-based).item- the index of the item of interest (zero-based).- Returns:
- The low-value for the specified series and item.
-
getLowValue
Deprecated.Returns the low-value (as a double primitive) for an item within a series.- Specified by:
getLowValuein interfaceOHLCDataset- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The low-value.
-
getOpen
Deprecated.Returns the open-value for the specified series and item.Note: throws
ClassCastExceptionif the series if not from aOHLCDataset.- Specified by:
getOpenin interfaceOHLCDataset- Parameters:
series- the index of the series of interest (zero-based).item- the index of the item of interest (zero-based).- Returns:
- The open-value for the specified series and item.
-
getOpenValue
Deprecated.Returns the open-value (as a double primitive) for an item within a series.- Specified by:
getOpenValuein interfaceOHLCDataset- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The open-value.
-
getClose
Deprecated.Returns the close-value for the specified series and item.Note: throws
ClassCastExceptionif the series if not from aOHLCDataset.- Specified by:
getClosein interfaceOHLCDataset- Parameters:
series- the index of the series of interest (zero-based).item- the index of the item of interest (zero-based).- Returns:
- The close-value for the specified series and item.
-
getCloseValue
Deprecated.Returns the close-value (as a double primitive) for an item within a series.- Specified by:
getCloseValuein interfaceOHLCDataset- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The close-value.
-
getVolume
Deprecated.Returns the volume.Note: throws
ClassCastExceptionif the series if not from aOHLCDataset.- Specified by:
getVolumein interfaceOHLCDataset- Parameters:
series- the series (zero based index).item- the item (zero based index).- Returns:
- The volume.
-
getVolumeValue
Deprecated.Returns the volume-value (as a double primitive) for an item within a series.- Specified by:
getVolumeValuein interfaceOHLCDataset- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The volume-value.
-
getX
Deprecated.Returns the X-value for the specified series and item.Note: throws
ClassCastExceptionif the series if not from aXYDataset. -
getY
Deprecated.Returns the Y-value for the specified series and item.Note: throws
ClassCastExceptionif the series if not from aXYDataset. -
getItemCount
Deprecated.Returns the number of items in a series.Note: throws
ClassCastExceptionif the series if not from aXYDataset.- Specified by:
getItemCountin interfaceXYDataset- Parameters:
series- the index of the series of interest (zero-based).- Returns:
- The number of items in a series.
-
getSeriesCount
Deprecated.Returns the number of series in the dataset.- Specified by:
getSeriesCountin interfaceSeriesDataset- Specified by:
getSeriesCountin classAbstractSeriesDataset- Returns:
- The number of series in the dataset.
-
getSeriesKey
Deprecated.Returns the key for a series.- Specified by:
getSeriesKeyin interfaceSeriesDataset- Specified by:
getSeriesKeyin classAbstractSeriesDataset- Parameters:
series- the series (zero-based index).- Returns:
- The name of a series.
-
getStartX
Deprecated.Returns the starting X value for the specified series and item.- Specified by:
getStartXin interfaceIntervalXYDataset- Parameters:
series- the index of the series of interest (zero-based).item- the index of the item of interest (zero-based).- Returns:
- The starting X value for the specified series and item.
-
getEndX
Deprecated.Returns the ending X value for the specified series and item.- Specified by:
getEndXin interfaceIntervalXYDataset- Parameters:
series- the index of the series of interest (zero-based).item- the index of the item of interest (zero-based).- Returns:
- The ending X value for the specified series and item.
-
getStartY
Deprecated.Returns the starting Y value for the specified series and item.- Specified by:
getStartYin interfaceIntervalXYDataset- Parameters:
series- the index of the series of interest (zero-based).item- the index of the item of interest (zero-based).- Returns:
- The starting Y value for the specified series and item.
-
getEndY
Deprecated.Returns the ending Y value for the specified series and item.- Specified by:
getEndYin interfaceIntervalXYDataset- Parameters:
series- the index of the series of interest (zero-based).item- the index of the item of interest (zero-based).- Returns:
- The ending Y value for the specified series and item.
-
getParent
Deprecated.Returns the parent Dataset of this combination.- Specified by:
getParentin interfaceCombinationDataset- Returns:
- The parent Dataset of this combination.
-
getMap
Deprecated.Returns a map or indirect indexing form our series into parent's series.- Specified by:
getMapin interfaceCombinationDataset- Returns:
- A map or indirect indexing form our series into parent's series.
-