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.xy.DefaultTableXYDataset |
An XYDataset
where every series shares the same x-values (required
for generating stacked area charts).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new empty dataset.
| |||||||||||
Creates a new empty dataset.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a series to the collection and sends a
DatasetChangeEvent
to all registered listeners. | |||||||||||
Returns an independent copy of this dataset.
| |||||||||||
Tests this collection for equality with an arbitrary object.
| |||||||||||
Returns the range of the values in this dataset's domain.
| |||||||||||
Returns the minimum x-value in the dataset.
| |||||||||||
Returns the maximum x-value in the dataset.
| |||||||||||
Returns the ending X value for the specified series and item.
| |||||||||||
Returns the ending Y value for the specified series and item.
| |||||||||||
Returns the interval position factor.
| |||||||||||
returns the full interval width.
| |||||||||||
Returns the number of items in the specified series.
| |||||||||||
Returns the number of x values in the dataset.
| |||||||||||
Returns a series.
| |||||||||||
Returns the number of series in the collection.
| |||||||||||
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 x-value for the specified series and item.
| |||||||||||
Returns the y-value for the specified series and item.
| |||||||||||
Returns a hash code.
| |||||||||||
Returns the flag that controls whether or not x-values are removed from
the dataset when the corresponding y-values are all
null . | |||||||||||
Returns whether the interval width is automatically calculated or not.
| |||||||||||
Removes all x-values for which all the y-values are
null . | |||||||||||
Removes all the series from the collection and sends a
DatasetChangeEvent to all registered listeners. | |||||||||||
Removes the items from all series for a given x value.
| |||||||||||
Removes a series from the collection and sends a
DatasetChangeEvent to all registered listeners. | |||||||||||
Removes a series from the collection and sends a
DatasetChangeEvent to all registered listeners. | |||||||||||
This method receives notification when a series belonging to the dataset
changes.
| |||||||||||
Sets the flag that indicates whether the interval width is automatically
calculated or not.
| |||||||||||
Sets the interval position factor.
| |||||||||||
Sets the interval width to a fixed value, and sends a
DatasetChangeEvent to all registered listeners. | |||||||||||
Updates the x-values for all the series in the dataset.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns
true if all the y-values for the specified x-value
are null and false otherwise. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new empty dataset.
Creates a new empty dataset.
autoPrune | a flag that controls whether or not x-values are
removed whenever the corresponding y-values are all
null .
|
---|
Adds a series to the collection and sends a DatasetChangeEvent
to all registered listeners. The series should be configured to NOT
allow duplicate x-values.
series | the series (null not permitted).
|
---|
Returns an independent copy of this dataset.
CloneNotSupportedException | if there is some reason that cloning cannot be performed. |
---|
Tests this collection for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the range of the values in this dataset's domain.
includeInterval | a flag that determines whether or not the x-interval is taken into account. |
---|
Returns the minimum x-value in the dataset.
includeInterval | a flag that determines whether or not the x-interval is taken into account. |
---|
Returns the maximum x-value in the dataset.
includeInterval | a flag that determines whether or not the x-interval is taken into account. |
---|
Returns the ending X value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the ending Y value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the interval position factor.
returns the full interval width.
Returns the number of items in the specified series.
series | the series (zero-based index). |
---|
Returns the number of x values in the dataset.
Returns a series.
series | the series (zero-based index). |
---|
null
).
Returns the number of series in the collection.
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 series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the starting Y value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the x-value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the y-value for the specified series and item.
series | the series (zero-based index). |
---|---|
index | the index of the item of interest (zero-based). |
null
).
Returns a hash code.
Returns the flag that controls whether or not x-values are removed from
the dataset when the corresponding y-values are all null
.
Returns whether the interval width is automatically calculated or not.
Removes all x-values for which all the y-values are null
.
Removes all the series from the collection and sends a
DatasetChangeEvent
to all registered listeners.
Removes the items from all series for a given x value.
x | the x-value. |
---|
Removes a series from the collection and sends a
DatasetChangeEvent
to all registered listeners.
series | the series (null not permitted).
|
---|
Removes a series from the collection and sends a
DatasetChangeEvent
to all registered listeners.
series | the series (zero based index). |
---|
This method receives notification when a series belonging to the dataset
changes. It responds by updating the x-points for the entire dataset
and sending a DatasetChangeEvent
to all registered listeners.
event | information about the change. |
---|
Sets the flag that indicates whether the interval width is automatically calculated or not.
b | a boolean. |
---|
Sets the interval position factor. Must be between 0.0 and 1.0 inclusive. If the factor is 0.5, the gap is in the middle of the x values. If it is lesser than 0.5, the gap is farther to the left and if greater than 0.5 it gets farther to the right.
d | the new interval position factor. |
---|
Sets the interval width to a fixed value, and sends a
DatasetChangeEvent
to all registered listeners.
d | the new interval width (must be > 0). |
---|
Updates the x-values for all the series in the dataset.
Returns true
if all the y-values for the specified x-value
are null
and false
otherwise.
x | the x-value. |
---|