Example usage for org.jfree.data.statistics DefaultBoxAndWhiskerXYDataset getRangeUpperBound

List of usage examples for org.jfree.data.statistics DefaultBoxAndWhiskerXYDataset getRangeUpperBound

Introduction

In this page you can find the example usage for org.jfree.data.statistics DefaultBoxAndWhiskerXYDataset getRangeUpperBound.

Prototype

@Override
public double getRangeUpperBound(boolean includeInterval) 

Source Link

Document

Returns the maximum y-value in the dataset.

Usage

From source file:org.jfree.data.statistics.DefaultBoxAndWhiskerXYDatasetTest.java

/**
 * Some basic checks for the constructor.
 */// w  ww.  ja  va2  s .  co  m
@Test
public void testConstructor() {
    DefaultBoxAndWhiskerXYDataset dataset = new DefaultBoxAndWhiskerXYDataset("S1");
    assertEquals(1, dataset.getSeriesCount());
    assertEquals(0, dataset.getItemCount(0));
    assertTrue(Double.isNaN(dataset.getRangeLowerBound(false)));
    assertTrue(Double.isNaN(dataset.getRangeUpperBound(false)));
}