|
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.XIntervalSeries
public class XIntervalSeries
A list of (x, x-low, x-high, y) data items.
XIntervalSeriesCollection,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.jfree.data.ComparableObjectSeries |
|---|
data |
| Constructor Summary | |
|---|---|
XIntervalSeries(java.lang.Comparable key)
Creates a new empty series. |
|
XIntervalSeries(java.lang.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. |
java.lang.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. |
| 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 XIntervalSeries(java.lang.Comparable key)
key - the series key (null not permitted).
public XIntervalSeries(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 xLow,
double xHigh,
double y)
x - the x-value.y - the y-value.xLow - the lower bound of the y-interval.xHigh - the upper bound of the y-interval.public java.lang.Number getX(int index)
index - the item index.
null).public double getXLowValue(int index)
index - the item index.
public double getXHighValue(int index)
index - the item index.
public double getYValue(int index)
index - the item index.
public ComparableObjectItem getDataItem(int index)
getDataItem in class ComparableObjectSeriesindex - the item index.
|
Footer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||