| java.lang.Object org.krysalis.jcharts.chartData.processors.PieChartDataProcessor
PieChartDataProcessor | final public class PieChartDataProcessor (Code) | | Utility class to process the PieChartDataSet
|
Method Summary | |
public double | getPercentageOfPie(int index) Returns percentage of pie(360 degrees) data point at specified index. | public void | processData() This method should do a single pass through the data set and calculate all needed values,
such as: min, max, sum, etc... |
PieChartDataProcessor | public PieChartDataProcessor(IPieChartDataSet iPieChartDataSet)(Code) | | Constructor
Parameters: iPieChartDataSet - |
getPercentageOfPie | public double getPercentageOfPie(int index)(Code) | | Returns percentage of pie(360 degrees) data point at specified index.
Parameters: index - double |
processData | public void processData()(Code) | | This method should do a single pass through the data set and calculate all needed values,
such as: min, max, sum, etc... so that we can do this in one pass through the data.
Rather than once for each.
|
|
|