Example usage for org.jfree.data.general SeriesDataset getSeriesCount

List of usage examples for org.jfree.data.general SeriesDataset getSeriesCount

Introduction

In this page you can find the example usage for org.jfree.data.general SeriesDataset getSeriesCount.

Prototype

public int getSeriesCount();

Source Link

Document

Returns the number of series in the dataset.

Usage

From source file:ec.util.chart.swing.Charts.java

public static boolean isNullOrEmpty(SeriesDataset dataset) {
    return dataset == null || dataset.getSeriesCount() == 0;
}