
In this example, a very simple pie chart is created demonstrating the basic steps in creating pie charts.
- Create a pie chart object using PieChart.PieChart.
- Specify the center and radius of the pie using PieChart.setPieSize.
- Specify the data used to draw the pie using PieChart.setData.
- Generate the chart using BaseChart.makeChart2.