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.time.TimePeriodValuesCollection |
A collection of TimePeriodValues
objects.
This class implements the XYDataset
interface, as
well as the extended IntervalXYDataset
interface. This makes it a
convenient dataset for use with the XYPlot
class.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an empty dataset.
| |||||||||||
Constructs a dataset containing a single series.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a series to the collection.
| |||||||||||
Tests this instance for equality with an arbitrary object.
| |||||||||||
Returns the range of the values in this dataset's domain.
| |||||||||||
This method is deprecated.
This flag is no longer used by JFreeChart (as of version
1.0.3).
| |||||||||||
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 number of items in the specified series.
| |||||||||||
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 position of the X value within each time period.
| |||||||||||
Returns the y-value for the specified series and item.
| |||||||||||
Removes the specified series from the collection.
| |||||||||||
Removes a series from the collection.
| |||||||||||
This method is deprecated.
This flag is no longer used by JFreeChart (as of version
1.0.3).
| |||||||||||
Sets the position of the x axis within each time period.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs an empty dataset.
Constructs a dataset containing a single series. Additional series can be added.
series | the series (null ignored).
|
---|
Adds a series to the collection. A
DatasetChangeEvent
is sent to all
registered listeners.
series | the time series. |
---|
Tests this instance 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. |
---|
This method is deprecated.
This flag is no longer used by JFreeChart (as of version
1.0.3).
Returns a flag that controls whether the domain is treated as 'points in time'. This flag is used when determining the max and min values for the domain. If true, then only the x-values are considered for the max and min values. If false, then the start and end x-values will also be taken into consideration
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 number of items in the specified series.
This method is provided for convenience.
series | the index of the series of interest (zero-based). |
---|
Returns a series.
series | the index of the series (zero-based). |
---|
Returns the number of series in the collection.
Returns the key for a series.
series | the index of the series (zero-based). |
---|
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 position of the X value within each time period.
null
).Returns the y-value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Removes the specified series from the collection.
series | the series to remove (null not permitted).
|
---|
Removes a series from the collection.
index | the series index (zero-based). |
---|
This method is deprecated.
This flag is no longer used by JFreeChart (as of version
1.0.3).
Sets a flag that controls whether the domain is treated as 'points in time', or time periods.
flag | the new value of the flag. |
---|
Sets the position of the x axis within each time period.
position | the position (null not permitted). |
---|