MapPieSettings.HoleRadiusPercent Property
Gets or sets a hole radius as a percent of the size of a map pie chart.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
Property Value
Type | Description |
---|---|
Double | A Double object specifying a hole radius as a percent. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to HoleRadiusPercent |
---|---|
PieChartDataAdapter |
|
Example
MapPieSettings allows specifying parameters of generated map pie charts. It can be accessed using the PieChartDataAdapter.PieSettings property.
This class contains the following properties that allow customizing the map pie chart appearance.
- MapPie.RotationDirection - allows specifying the rotation direction of pie segments.
- MapPie.RotationAngle - allows specifying the rotation angle of pie segments.
- MapPie.HoleRadiusPercent - allows specifying the hole radius as a percentage value.
<dxm:PieChartDataAdapter DataSource="{Binding Source={StaticResource pieData}, XPath=Table1}"
ItemIdDataMember="Country" ItemMinSize="10" ItemMaxSize="50">
<dxm:PieChartDataAdapter.Mappings>
<dxm:MapPieMappingInfo Latitude="CapitalLat" Longitude="CapitalLon"
SegmentId="MedalClass" SegmentValue="Quantity"/>
</dxm:PieChartDataAdapter.Mappings>
<dxm:PieChartDataAdapter.PieSettings>
<dxm:MapPieSettings
HoleRadiusPercent="{Binding ElementName=seHoleRadius, Path=Value}"
RotationDirection="{Binding ElementName=cbRotationDirection, Path=SelectedValue}"
RotationAngle="{Binding ElementName=seRotationAngle, Path=Value}"/>
</dxm:PieChartDataAdapter.PieSettings>
</dxm:PieChartDataAdapter>
See Also