PieChart for ASP.NET Web Forms
Step 2 of 3: Adding Data to the PieChart
Quick Start > Step 2 of 3: Adding Data to the PieChart

In this topic you will set some of the properties to add data to the PieChart.

  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 PieChart.
  3. Expand the Header node and enter Steam-Mac Hardware next to the Text property.
  4. Open the C1PieChart Tasks menu. The PieChartSeries Collection Editor appears.
    1. Click Add five times to add five members.
    2. Select a member and set the following properties for the PieChartSeries:
      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
    3. Click OK to close the PieChartSeries Collection Editor and appply the changes to the C1PieChart.

Now run the project to see the Pie chart.

See Also