In this topic you will set some of the properties to add data to the C1PieChartExtender.
1. Select View | Properties Window in the Visual Studio menu.
2. Click the drop-down list at the top of the Properties window and select Panel1_C1PieChartExtender.
3. Expand the Header node and enter Steam - Mac Hardware next to the Text property.
4. Click the ellipsis button next to the SeriesList property. The PieChartSeries Collection Editor dialog box opens.
a. Click Add five times to add five members.
b. Select a member and set the following properties for the ChartSeries:
Member | Label | Data |
---|---|---|
0 |
MacBook Pro |
46.78 |
1 |
iMac |
23.18 |
2 |
MacBook |
20.25 |
3 | Mac Pro | 5.41 |
4 | Mac mini | 3.44 |
c. Click OK to close the PieChartSeries Collection Editor.
Now run the project to see the Pie chart.