org.jfree.chart.plot

Class PlotUtilities

public class PlotUtilities extends Object

Some utility methods related to the plot classes.

Since: 1.0.7

Method Summary
static booleanisEmptyOrNull(XYPlot plot)
Returns true if all the datasets belonging to the specified plot are empty or null, and false otherwise.

Method Detail

isEmptyOrNull

public static boolean isEmptyOrNull(XYPlot plot)
Returns true if all the datasets belonging to the specified plot are empty or null, and false otherwise.

Parameters: plot the plot (null permitted).

Returns: A boolean.

Since: 1.0.7

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.