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

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

Introduction

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

Prototype

public double getYHighValue() 

Source Link

Document

Returns the upper bound of the y-interval.

Usage

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

/**
 * Some checks for the constructor.//  w ww. j  a  v  a2  s .  c  o  m
 */
@Test
public void testConstructor1() {
    YIntervalDataItem item1 = new YIntervalDataItem(1.0, 2.0, 3.0, 4.0);
    assertEquals(new Double(1.0), item1.getX());
    assertEquals(2.0, item1.getYValue(), EPSILON);
    assertEquals(3.0, item1.getYLowValue(), EPSILON);
    assertEquals(4.0, item1.getYHighValue(), EPSILON);
}