PieSeries.LabelPosition Attached Property
In This Article
Gets or sets the label’s position in reference to the 2D Pie (Donut) and 3D Pie (Donut) series point’s slice.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
#Declaration
#Returns
Type | Description |
---|---|
Pie |
A Pie |
#Example
The following example shows how to position a pie series’s labels in two columns.
<dxc:PieSeries2D DataSource="{Binding Path=Data}"
ValueDataMember="Value"
ArgumentDataMember="Argument"
LabelsVisibility="True">
<dxc:PieSeries2D.Label>
<dxc:SeriesLabel dxc:PieSeries.LabelPosition="TwoColumns"/>
</dxc:PieSeries2D.Label>
</dxc:PieSeries2D>
The following table lists the API members the code above uses:
Member | Description |
---|---|
Series. |
Gets or sets the settings of series labels. |
Series |
Contains settings for series point labels. |
Series. |
Specifies whether to show labels for a series. |
Pie |
Gets or sets the label’s position in reference to the 2D Pie (Donut) and 3D Pie (Donut) series point’s slice. |
Pie |
Lists the values that are used to specify position of a pie series’s labels. |
Use the PieSeries.SetLabelPosition method to specify the pie series label position at runtime.
See Also