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.


Constructor Index

 o ChartUtil()

Method Index

 o roundValue(float)
Round off a float value to two decimal places.

Constructors

 o ChartUtil
 public ChartUtil()

Methods

 o 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