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 KeyedValues
getCumulativePercentages(KeyedValues data)
Returns aKeyedValues
instance that contains the cumulative percentage values for the data in anotherKeyedValues
instance.
-
Constructor Details
-
DataUtilities
public DataUtilities()
-
-
Method Details
-
getCumulativePercentages
Returns aKeyedValues
instance that contains the cumulative percentage values for the data in anotherKeyedValues
instance.The percentages are values between 0.0 and 1.0 (where 1.0 = 100%).
- Parameters:
data
- the data.- Returns:
- The cumulative percentages.
-