Example usage for Java org.jfree.data.time TimeSeriesCollection fields, constructors, methods, implement or subclass
The text is from its open source code.
TimeSeriesCollection() Constructs an empty dataset, tied to the default timezone. | |
TimeSeriesCollection(TimeZone zone) Constructs an empty dataset, tied to a specific timezone. | |
TimeSeriesCollection(TimeSeries series) Constructs a dataset containing a single series (more can be added), tied to the default timezone. |
void | addSeries(TimeSeries series) Adds a series to the collection and sends a DatasetChangeEvent to all registered listeners. |
Object | clone() Returns a clone of this time series collection. |
boolean | equals(Object obj) Tests this time series collection for equality with another object. |
Class> | getClass() Returns the runtime class of this Object . |
double | getDomainLowerBound(boolean includeInterval) Returns the minimum x-value in the dataset. |
double | getDomainUpperBound(boolean includeInterval) Returns the maximum x-value in the dataset. |
int | getItemCount(int series) Returns the number of items in the specified series. |
Range | getRangeBounds(boolean includeInterval) Returns the bounds for the y-values in the dataset. |
Range | getRangeBounds(List visibleSeriesKeys, Range xRange, boolean includeInterval) Returns the bounds for the y-values in the dataset. |
List | getSeries() Returns a list of all the series in the collection. |
TimeSeries | getSeries(int series) Returns a series. |
TimeSeries | getSeries(Comparable key) Returns the series with the specified key, or null if there is no such series. |
int | getSeriesCount() Returns the number of series in the collection. |
Comparable | getSeriesKey(int series) Returns the key for a series. |
int[] | getSurroundingItems(int series, long milliseconds) Returns the indices of the two data items surrounding a particular millisecond value. |
Number | getX(int series, int item) Returns the x-value for the specified series and item. |
Number | getY(int series, int item) Returns the y-value for the specified series and item. |
int | indexOf(TimeSeries series) Returns the index of the specified series, or -1 if that series is not present in the dataset. |
void | removeAllSeries() Removes all the series from the collection and sends a DatasetChangeEvent to all registered listeners. |
void | removeSeries(TimeSeries series) Removes the specified series from the collection and sends a DatasetChangeEvent to all registered listeners. |
void | removeSeries(int index) Removes a series from the collection. |
void | setDomainIsPointsInTime(boolean flag) Sets a flag that controls whether the domain is treated as 'points in time', or time periods. |
void | setGroup(DatasetGroup group) Sets the dataset group for the dataset. |
void | setXPosition(TimePeriodAnchor anchor) Sets the position within each time period that is used for the X values when the collection is used as an XYDataset , then sends a DatasetChangeEvent is sent to all registered listeners. |