Example usage for org.jfree.data.xy YIntervalSeries getYHighValue

List of usage examples for org.jfree.data.xy YIntervalSeries getYHighValue

Introduction

In this page you can find the example usage for org.jfree.data.xy YIntervalSeries getYHighValue.

Prototype

public double getYHighValue(int index) 

Source Link

Document

Returns the upper bound of the y-interval for the specified item in the series.

Usage

From source file:org.jfree.data.xy.YIntervalSeriesCollection.java

/**
 * Returns the end y-value (as a double primitive) for an item within a
 * series.//from w ww  . j  a v a2  s  . co  m
 *
 * @param series  the series (zero-based index).
 * @param item  the item (zero-based index).
 *
 * @return The value.
 */
@Override
public double getEndYValue(int series, int item) {
    YIntervalSeries s = (YIntervalSeries) this.data.get(series);
    return s.getYHighValue(item);
}

From source file:org.jfree.data.xy.YIntervalSeriesCollection.java

/**
 * Returns the end y-value for an item within a series.
 *
 * @param series  the series index./*from w w w  . j  a v a 2  s .  c o m*/
 * @param item  the item index.
 *
 * @return The end y-value.
 */
@Override
public Number getEndY(int series, int item) {
    YIntervalSeries s = (YIntervalSeries) this.data.get(series);
    return new Double(s.getYHighValue(item));
}