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.CombinedDataset |
This class is 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 can combine instances of XYDataset
, OHLCDataset
and IntervalXYDataset
together exposing the union of all the series
under one dataset.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor for an empty combination.
| |||||||||||
Creates a CombinedDataset initialized with an array of SeriesDatasets.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an array of SeriesDataset's to the combination.
| |||||||||||
Adds one SeriesDataset to the combination.
| |||||||||||
Adds one series from a SeriesDataset to the combination.
| |||||||||||
Returns the child position.
| |||||||||||
Returns the close-value for the specified series and item.
| |||||||||||
Returns the close-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns the ending X value for the specified series and item.
| |||||||||||
Returns the ending Y value for the specified series and item.
| |||||||||||
Returns the high-value for the specified series and item.
| |||||||||||
Returns the high-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns the number of items in a series.
| |||||||||||
Returns the low-value for the specified series and item.
| |||||||||||
Returns the low-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns a map or indirect indexing form our series into parent's series.
| |||||||||||
Returns the open-value for the specified series and item.
| |||||||||||
Returns the open-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns the parent Dataset of this combination.
| |||||||||||
Returns the number of series in the dataset.
| |||||||||||
Returns the key for a series.
| |||||||||||
Returns the starting X value for the specified series and item.
| |||||||||||
Returns the starting Y value for the specified series and item.
| |||||||||||
Returns the volume value for the specified series and item.
| |||||||||||
Returns the volume-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns the X-value for the specified series and item.
| |||||||||||
Returns the Y-value for the specified series and item.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Default constructor for an empty combination.
Creates a CombinedDataset initialized with an array of SeriesDatasets.
data | array of SeriesDataset that contains the SeriesDatasets to combine. |
---|
Adds an array of SeriesDataset's to the combination. Listeners are notified of the change.
data | array of SeriesDataset to add |
---|
Adds one SeriesDataset to the combination. Listeners are notified of the change.
data | the SeriesDataset to add. |
---|
Adds one series from a SeriesDataset to the combination. Listeners are notified of the change.
data | the SeriesDataset where series is contained |
---|---|
series | series to add |
Returns the child position.
child | the child dataset. |
---|
Returns the close-value for the specified series and item.
Note: throws ClassCastException
if the series is not from a
OHLCDataset
.
series | the index of the series of interest (zero-based). |
---|---|
item | the index of the item of interest (zero-based). |
Returns the close-value (as a double primitive) for an item within a series.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the ending X value for the specified series and item.
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.
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.
Note: throws ClassCastException
if the series is not from a
OHLCDataset
.
series | the index of the series of interest (zero-based). |
---|---|
item | the index of the item of interest (zero-based). |
Returns the high-value (as a double primitive) for an item within a series.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the number of items in a series.
Note: throws ClassCastException
if the series is not from
a XYDataset
.
series | the index of the series of interest (zero-based). |
---|
Returns the low-value for the specified series and item.
Note: throws ClassCastException
if the series is not from a
OHLCDataset
.
series | the index of the series of interest (zero-based). |
---|---|
item | the index of the item of interest (zero-based). |
Returns the low-value (as a double primitive) for an item within a series.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns a map or indirect indexing form our series into parent's series. Prior to calling this method, the client should check getParent() to make sure the CombinationDataset uses the same parent. If not, the map returned by this method will be invalid or null.
Returns the open-value for the specified series and item.
Note: throws ClassCastException
if the series is not from a
OHLCDataset
.
series | the index of the series of interest (zero-based). |
---|---|
item | the index of the item of interest (zero-based). |
Returns the open-value (as a double primitive) for an item within a series.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the parent Dataset of this combination. If there is more than
one parent, or a child is found that is not a CombinationDataset, then
returns null
.
null
.
Returns the number of series in the dataset.
Returns the key for a series.
series | the series (zero-based index). |
---|
Returns the starting X value for the specified series and item.
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.
series | the index of the series of interest (zero-based). |
---|---|
item | the index of the item of interest (zero-based). |
Returns the volume value for the specified series and item.
Note: throws ClassCastException
if the series is not from a
OHLCDataset
.
series | the index of the series of interest (zero-based). |
---|---|
item | the index of the item of interest (zero-based). |
Returns the volume-value (as a double primitive) for an item within a series.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the X-value for the specified series and item.
Note: throws ClassCastException
if the series is not from
a XYDataset
.
series | the index of the series of interest (zero-based). |
---|---|
item | the index of the item of interest (zero-based). |
Returns the Y-value for the specified series and item.
Note: throws ClassCastException
if the series is not from
a XYDataset
.
series | the index of the series of interest (zero-based). |
---|---|
item | the index of the item of interest (zero-based). |