java.lang.Object | ||||
↳ | org.jfree.data.general.AbstractDataset | |||
↳ | org.jfree.data.general.AbstractSeriesDataset | |||
↳ | org.jfree.data.xy.AbstractXYDataset | |||
↳ | org.jfree.data.xy.DefaultOHLCDataset |
A simple implementation of the OHLCDataset
interface. This
implementation supports only one series.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new dataset.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an independent copy of this dataset.
| |||||||||||
Tests this instance for equality with an arbitrary object.
| |||||||||||
Returns the close value.
| |||||||||||
Returns the close-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns the high value.
| |||||||||||
Returns the high-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns the item count for the specified series.
| |||||||||||
Returns the low value.
| |||||||||||
Returns the low-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns the open value.
| |||||||||||
Returns the open-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns the series count.
| |||||||||||
Returns the series key.
| |||||||||||
Returns the trading volume.
| |||||||||||
Returns the volume-value (as a double primitive) for an item within a
series.
| |||||||||||
Returns the x-value for a data item.
| |||||||||||
Returns the x-value for a data item as a date.
| |||||||||||
Returns the y-value.
| |||||||||||
Sorts the data into ascending order by date.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new dataset.
key | the series key. |
---|---|
data | the data items. |
Tests this instance for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the close value.
series | the series index (ignored). |
---|---|
item | the item index (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 high value.
series | the series index (ignored). |
---|---|
item | the item index (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 item count for the specified series.
series | the series index (ignored). |
---|
Returns the low value.
series | the series index (ignored). |
---|---|
item | the item index (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 the open value.
series | the series index (ignored). |
---|---|
item | the item index (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 series count.
Returns the series key.
series | the series index (ignored). |
---|
Returns the trading volume.
series | the series index (ignored). |
---|---|
item | the item index (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 a data item.
series | the series index (ignored). |
---|---|
item | the item index (zero-based). |
Returns the x-value for a data item as a date.
series | the series index (ignored). |
---|---|
item | the item index (zero-based). |
Returns the y-value.
series | the series index (ignored). |
---|---|
item | the item index (zero-based). |
Sorts the data into ascending order by date.