|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.data.general.Series
org.jfree.data.ComparableObjectSeries
org.jfree.data.xy.YIntervalSeries
public class YIntervalSeries
A list of (x, y, y-low, y-high) data items.
YIntervalSeriesCollection
,
Serialized FormField Summary |
---|
Fields inherited from class org.jfree.data.ComparableObjectSeries |
---|
data |
Constructor Summary | |
---|---|
YIntervalSeries(java.lang.Comparable key)
Creates a new empty series. |
|
YIntervalSeries(java.lang.Comparable key,
boolean autoSort,
boolean allowDuplicateXValues)
Constructs a new xy-series that contains no data. |
Method Summary | |
---|---|
void |
add(double x,
double y,
double yLow,
double yHigh)
Adds a data item to the series. |
ComparableObjectItem |
getDataItem(int index)
Returns the data item at the specified index. |
java.lang.Number |
getX(int index)
Returns the x-value for the specified item. |
double |
getYHighValue(int index)
Returns the upper bound of the y-interval for the specified item in the series. |
double |
getYLowValue(int index)
Returns the lower bound of the Y-interval for the specified item in the series. |
double |
getYValue(int index)
Returns the y-value for the specified item. |
Methods inherited from class org.jfree.data.ComparableObjectSeries |
---|
add, add, add, clear, delete, equals, getAllowDuplicateXValues, getAutoSort, getItemCount, getMaximumItemCount, hashCode, indexOf, remove, remove, setMaximumItemCount, update, updateByIndex |
Methods inherited from class org.jfree.data.general.Series |
---|
addChangeListener, addPropertyChangeListener, clone, firePropertyChange, fireSeriesChanged, getDescription, getKey, getNotify, isEmpty, notifyListeners, removeChangeListener, removePropertyChangeListener, setDescription, setKey, setNotify |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YIntervalSeries(java.lang.Comparable key)
key
- the series key (null
not permitted).public YIntervalSeries(java.lang.Comparable key, boolean autoSort, boolean allowDuplicateXValues)
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.Method Detail |
---|
public void add(double x, double y, double yLow, double yHigh)
x
- the x-value.y
- the y-value.yLow
- the lower bound of the y-interval.yHigh
- the upper bound of the y-interval.public java.lang.Number getX(int index)
index
- the item index.
null
).public double getYValue(int index)
index
- the item index.
public double getYLowValue(int index)
index
- the item index.
public double getYHighValue(int index)
index
- the item index.
public ComparableObjectItem getDataItem(int index)
getDataItem
in class ComparableObjectSeries
index
- the item index.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |