All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.beans.charting.ChartUtil
java.lang.Object
|
+----COM.ibm.beans.charting.ChartUtil
- public class ChartUtil
- extends Object
This class defines utility functions for the Charting Beans.
-
ChartUtil()
-
-
roundValue(float)
- Round off a float value to two decimal places.
ChartUtil
public ChartUtil()
roundValue
public static float roundValue(float value)
- Round off a float value to two decimal places. This function is
used by the PieChart Bean to calculate the percentage values represented
by the pie wedges, rounded off to two decimal places.
- Parameters:
- value - is the float value that is to be rounded to two decimal places
All Packages Class Hierarchy This Package Previous Next Index