List of usage examples for org.jfree.data.general SeriesDataset getSeriesCount
public int getSeriesCount();
From source file:ec.util.chart.swing.Charts.java
public static boolean isNullOrEmpty(SeriesDataset dataset) { return dataset == null || dataset.getSeriesCount() == 0; }