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

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

Introduction

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

Prototype

@Override
public int getItemCount(int series) 

Source Link

Document

Returns the number of items in the specified series.

Usage

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

/**
 * Some basic checks for the constructor.
 *//*  w w w.ja va 2 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)));
}