| org.jfree.data.ComparableObjectSeries org.jfree.data.xy.YIntervalSeries
Method Summary | |
public void | add(double x, double y, double yLow, double yHigh) Adds a data item to the series. | public ComparableObjectItem | getDataItem(int index) Returns the data item at the specified index.
Parameters: index - the item index. | public Number | getX(int index) Returns the x-value for the specified item.
Parameters: index - the item index. | public double | getYHighValue(int index) Returns the upper bound of the y-interval for the specified item in the
series.
Parameters: index - the item index. | public double | getYLowValue(int index) Returns the lower bound of the Y-interval for the specified item in the
series.
Parameters: index - the item index. | public double | getYValue(int index) Returns the y-value for the specified item.
Parameters: index - the item index. |
YIntervalSeries | public YIntervalSeries(Comparable key)(Code) | | Creates a new empty series. By default, items added to the series will
be sorted into ascending order by x-value, and duplicate x-values will
be allowed (these defaults can be modified with another constructor.
Parameters: key - the series key (null not permitted). |
YIntervalSeries | public YIntervalSeries(Comparable key, boolean autoSort, boolean allowDuplicateXValues)(Code) | | Constructs a new xy-series that contains no data. You can specify
whether or not duplicate x-values are allowed for the series.
Parameters: key - the series key (null not permitted). Parameters: autoSort - a flag that controls whether or not the items in the series are sorted. Parameters: allowDuplicateXValues - a flag that controls whether duplicate x-values are allowed. |
add | public void add(double x, double y, double yLow, double yHigh)(Code) | | Adds a data item to the series.
Parameters: x - the x-value. Parameters: y - the y-value. Parameters: yLow - the lower bound of the y-interval. Parameters: yHigh - the upper bound of the y-interval. |
getDataItem | public ComparableObjectItem getDataItem(int index)(Code) | | Returns the data item at the specified index.
Parameters: index - the item index. The data item. |
getX | public Number getX(int index)(Code) | | Returns the x-value for the specified item.
Parameters: index - the item index. The x-value (never null ). |
getYHighValue | public double getYHighValue(int index)(Code) | | Returns the upper bound of the y-interval for the specified item in the
series.
Parameters: index - the item index. The upper bound of the y-interval. since: 1.0.5 |
getYLowValue | public double getYLowValue(int index)(Code) | | Returns the lower bound of the Y-interval for the specified item in the
series.
Parameters: index - the item index. The lower bound of the Y-interval. since: 1.0.5 |
getYValue | public double getYValue(int index)(Code) | | Returns the y-value for the specified item.
Parameters: index - the item index. The y-value. |
|
|