Example usage for org.jfree.data.xyz XYZSeries getItemCount

List of usage examples for org.jfree.data.xyz XYZSeries getItemCount

Introduction

In this page you can find the example usage for org.jfree.data.xyz XYZSeries getItemCount.

Prototype

public int getItemCount() 

Source Link

Document

Returns the number of items in the series.

Usage

From source file:org.jfree.data.xyz.XYZSeriesCollection.java

/**
 * Returns the number of items in the specified series.
 * /*  w w w. j a v a 2 s .c o m*/
 * @param seriesIndex  the series index.
 * 
 * @return The number of items in the specified series. 
 */
@Override
public int getItemCount(int seriesIndex) {
    ParamChecks.nullNotPermitted(this, null);
    XYZSeries s = this.series.get(seriesIndex);
    return s.getItemCount();
}