Skip to main content

PieSeries2D Class

Represents the Pie / Donut series.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

public class PieSeries2D :
    PieSeries

#Remarks

The PieSeries2D class exposes the PieSeries2D.Rotation, PieSeries2D.Model and PieSeries2D.SweepDirection properties.

#Examples

The following example demonstrates how to create a 2D Pie (Donut) chart. To do this, it is necessary to assign the ChartControl.Diagram property to SimpleDiagram2D, and then add two PieSeries2D objects with points to the diagram's Diagram.Series collection.

Also, this example shows how to add a legend (showing series names) to a chart.

#Implements

See Also