Example usage for Java org.jfree.data.xy XYSeriesCollection fields, constructors, methods, implement or subclass
The text is from its open source code.
XYSeriesCollection() Constructs an empty dataset. | |
XYSeriesCollection(XYSeries series) Constructs a dataset and populates it with a single series. |
void | addChangeListener(DatasetChangeListener listener) Registers an object to receive notification of changes to the dataset. |
void | addSeries(XYSeries series) Adds a series to the collection and sends a DatasetChangeEvent to all registered listeners. |
Object | clone() Returns a clone of this instance. |
boolean | equals(Object obj) Tests this collection for equality with an arbitrary object. |
Class> | getClass() Returns the runtime class of this Object . |
Range | getDomainBounds(boolean includeInterval) Returns the range of the values in this dataset's domain. |
double | getDomainLowerBound(boolean includeInterval) Returns the minimum x-value in the dataset. |
DomainOrder | getDomainOrder() Returns the order of the domain (X) values, if this is known. |
double | getDomainUpperBound(boolean includeInterval) Returns the maximum x-value in the dataset. |
double | getIntervalPositionFactor() Returns the interval position factor. |
double | getIntervalWidth() Returns the interval width. |
int | getItemCount(int series) Returns the number of items in the specified series. |
Range | getRangeBounds(boolean includeInterval) Returns the range of the values in this dataset's range. |
double | getRangeLowerBound(boolean includeInterval) Returns the minimum y-value in the dataset. |
double | getRangeUpperBound(boolean includeInterval) Returns the maximum y-value in the dataset. |
XYSeries | getSeries(int series) Returns a series from the collection. |
XYSeries | getSeries(Comparable key) Returns a series from the collection. |
List | getSeries() Returns a list of all the series in the collection. |
int | getSeriesCount() Returns the number of series in the collection. |
int | getSeriesIndex(Comparable key) Returns the index of the series with the specified key, or -1 if no series has that key. |
Comparable | getSeriesKey(int series) Returns the key for a series. |
Number | getX(int series, int item) Returns the x-value for the specified series and item. |
double | getXValue(int series, int item) Returns the x-value (as a double primitive) for an item within a series. |
Number | getY(int series, int index) Returns the y-value for the specified series and item. |
double | getYValue(int series, int item) Returns the y-value (as a double primitive) for an item within a series. |
int | indexOf(XYSeries 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(int series) Removes a series from the collection and sends a DatasetChangeEvent to all registered listeners. |
void | removeSeries(XYSeries series) Removes a series from the collection and sends a DatasetChangeEvent to all registered listeners. |
void | setAutoWidth(boolean b) Sets the flag that indicates whether the interval width is automatically calculated or not. |
void | setIntervalPositionFactor(double factor) Sets the interval position factor. |
void | setIntervalWidth(double width) Sets the interval width and sends a DatasetChangeEvent to all registered listeners. |