org.jfree.data.xy
public class XIntervalSeries extends ComparableObjectSeries
Since: 1.0.3
See Also: XIntervalSeriesCollection
Constructor Summary | |
---|---|
XIntervalSeries(Comparable key)
Creates a new empty series. | |
XIntervalSeries(Comparable key, boolean autoSort, boolean allowDuplicateXValues)
Constructs a new xy-series that contains no data. |
Method Summary | |
---|---|
void | add(double x, double xLow, double xHigh, double y)
Adds a data item to the series.
|
ComparableObjectItem | getDataItem(int index)
Returns the data item at the specified index.
|
Number | getX(int index)
Returns the x-value for the specified item.
|
double | getXHighValue(int index)
Returns the upper bound of the x-interval for the specified item.
|
double | getXLowValue(int index)
Returns the lower bound of the x-interval for the specified item.
|
double | getYValue(int index)
Returns the y-value for the specified item.
|
Parameters: key the series key (null
not permitted).
Parameters: key the series key (null
not permitted). autoSort a flag that controls whether or not the items in the
series are sorted. allowDuplicateXValues a flag that controls whether duplicate
x-values are allowed.
Parameters: x the x-value. y the y-value. xLow the lower bound of the y-interval. xHigh the upper bound of the y-interval.
Parameters: index the item index.
Returns: The data item.
Parameters: index the item index.
Returns: The x-value (never null
).
Parameters: index the item index.
Returns: The upper bound of the x-interval.
Since: 1.0.10
Parameters: index the item index.
Returns: The lower bound of the x-interval.
Since: 1.0.10
Parameters: index the item index.
Returns: The y-value.