Method Summary |
|
public void | addSeries(TimePeriodValues series) Adds a series to the collection. |
public boolean | equals(Object obj) Tests this instance for equality with an arbitrary object.
Parameters: obj - the object (null permitted). |
public Range | getDomainBounds(boolean includeInterval) Returns the range of the values in this dataset's domain.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. |
public boolean | getDomainIsPointsInTime() Returns a flag that controls whether the domain is treated as 'points
in time'. |
public double | getDomainLowerBound(boolean includeInterval) Returns the minimum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. |
public double | getDomainUpperBound(boolean includeInterval) Returns the maximum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. |
public Number | getEndX(int series, int item) Returns the ending X value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public Number | getEndY(int series, int item) Returns the ending Y value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public int | getItemCount(int series) Returns the number of items in the specified series.
This method is provided for convenience.
Parameters: series - the index of the series of interest (zero-based). |
public TimePeriodValues | getSeries(int series) Returns a series.
Parameters: series - the index of the series (zero-based). |
public int | getSeriesCount() Returns the number of series in the collection. |
public Comparable | getSeriesKey(int series) Returns the key for a series.
Parameters: series - the index of the series (zero-based). |
public Number | getStartX(int series, int item) Returns the starting X value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public Number | getStartY(int series, int item) Returns the starting Y value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public Number | getX(int series, int item) Returns the x-value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public TimePeriodAnchor | getXPosition() Returns the position of the X value within each time period. |
public Number | getY(int series, int item) Returns the y-value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public void | removeSeries(TimePeriodValues series) Removes the specified series from the collection. |
public void | removeSeries(int index) Removes a series from the collection. |
public void | setDomainIsPointsInTime(boolean flag) Sets a flag that controls whether the domain is treated as 'points in
time', or time periods. |
public void | setXPosition(TimePeriodAnchor position) Sets the position of the x axis within each time period. |