PieChart for ASP.NET Web Forms
Special Pie Chart Properties
Pie Chart Fundamentals > Special Pie Chart Properties

Pie charts are quite different from the other chart types since they do not follow the concept of a two-dimensional grid or axes. Altering the diameter of the pie or the properties of the exploding slices can be accomplished with the properties of the C1PieChart class.

The C1PieChart includes the following unique properties:

Property Description
InnerRadius A value that indicates the inner radius used for doughnut charts.
Offset A value that indicates the offset of the chart series.

Doughnut Charts

A doughnut chart can be created setting the InnerRadius property of a C1PieChart to a non-zero value. The InnerRadius value represents the percentage of the full pie radius. The InnerRadius property can be accessed in the pie object of each Chart group.

In this example the InnerRadius property is set to 40 percent.

Exploding Pies

A slice of a Pie chart can be emphasized by exploding it, which extrudes the slice from the rest of the pie. Use the Offset property of the series to set the exploded slice's offset from the center of the pie. The offset is measured as a percentage of the radius of the pie.

In the following Pie chart the "MacBook" series is offest by 20 pixels:

See Also