Java org.jfree.data.time TimeSeriesCollection fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data.time TimeSeriesCollection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data.time TimeSeriesCollection.

The text is from its open source code.

Subclass

org.jfree.data.time.TimeSeriesCollection has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

voidaddSeries(TimeSeries series)
Adds a series to the collection and sends a DatasetChangeEvent to all registered listeners.
Objectclone()
Returns a clone of this time series collection.
booleanequals(Object obj)
Tests this time series collection for equality with another object.
ClassgetClass()
Returns the runtime class of this Object .
doublegetDomainLowerBound(boolean includeInterval)
Returns the minimum x-value in the dataset.
doublegetDomainUpperBound(boolean includeInterval)
Returns the maximum x-value in the dataset.
intgetItemCount(int series)
Returns the number of items in the specified series.
RangegetRangeBounds(boolean includeInterval)
Returns the bounds for the y-values in the dataset.
RangegetRangeBounds(List visibleSeriesKeys, Range xRange, boolean includeInterval)
Returns the bounds for the y-values in the dataset.
ListgetSeries()
Returns a list of all the series in the collection.
TimeSeriesgetSeries(int series)
Returns a series.
TimeSeriesgetSeries(Comparable key)
Returns the series with the specified key, or null if there is no such series.
intgetSeriesCount()
Returns the number of series in the collection.
ComparablegetSeriesKey(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.
NumbergetX(int series, int item)
Returns the x-value for the specified series and item.
NumbergetY(int series, int item)
Returns the y-value for the specified series and item.
intindexOf(TimeSeries series)
Returns the index of the specified series, or -1 if that series is not present in the dataset.
voidremoveAllSeries()
Removes all the series from the collection and sends a DatasetChangeEvent to all registered listeners.
voidremoveSeries(TimeSeries series)
Removes the specified series from the collection and sends a DatasetChangeEvent to all registered listeners.
voidremoveSeries(int index)
Removes a series from the collection.
voidsetDomainIsPointsInTime(boolean flag)
Sets a flag that controls whether the domain is treated as 'points in time', or time periods.
voidsetGroup(DatasetGroup group)
Sets the dataset group for the dataset.
voidsetXPosition(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.