Package org.jfree.data
Class DataUtilities
java.lang.Object
org.jfree.data.DataUtilities
public abstract class DataUtilities extends Object
Utility methods for use with some of the data classes (but not the datasets,
see
DatasetUtilities).-
Constructor Summary
Constructors Constructor Description DataUtilities() -
Method Summary
Modifier and Type Method Description static KeyedValuesgetCumulativePercentages(KeyedValues data)Returns aKeyedValuesinstance that contains the cumulative percentage values for the data in anotherKeyedValuesinstance.
-
Constructor Details
-
DataUtilities
public DataUtilities()
-
-
Method Details
-
getCumulativePercentages
Returns aKeyedValuesinstance that contains the cumulative percentage values for the data in anotherKeyedValuesinstance.The percentages are values between 0.0 and 1.0 (where 1.0 = 100%).
- Parameters:
data- the data.- Returns:
- The cumulative percentages.
-