public final class PieChartDataProcessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private IPieChartDataSet |
iPieChartDataSet |
private double |
sumOfData |
Constructor and Description |
---|
PieChartDataProcessor(IPieChartDataSet iPieChartDataSet)
Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getPercentageOfPie(int index)
Returns percentage of pie(360 degrees) data point at specified index.
|
void |
processData()
This method should do a single pass through the data set and calculate all needed values,
such as: min, max, sum, etc...
|
private IPieChartDataSet iPieChartDataSet
private double sumOfData
public PieChartDataProcessor(IPieChartDataSet iPieChartDataSet)
iPieChartDataSet
- public void processData()
public double getPercentageOfPie(int index)
index
-