PieSeries2D.Model Property
In This Article
Gets or sets the model used to draw elements of a 2D Pie (Donut) series.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
[XtraSerializableProperty(XtraSerializationVisibility.Content, true)]
public Pie2DModel Model { get; set; }
#Property Value
Type | Description |
---|---|
Pie2DModel | A Pie2DModel class descendant. |
#Remarks
For more information, see Series and Marker Models.
#Examples
This example illustrates how to create bar custom models.
To do this, create an object that represents a custom model of a particular series (CustomBar2DModel) and assign it to the Model property of a corresponding series type (BarSeries2D.Model).
Then, create the ControlTemplate object which contains all necessary visual elements to create your own custom model. Assign this template to the PointTemplate property of a series custom model (CustomBar2DModel.PointTemplate).
See Also