MapPieSettings Class
Contains settings used to generate Pie chart items.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v19.1.dll
Declaration
Related API Members
The following members return MapPieSettings objects:
Remarks
This class introduces the MapPieSettings.HoleRadiusPercent, MapPieSettings.RotationAngle and MapPieSettings.RotationDirection properties that allow specifying the pie chart view.
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/customize-appearance-of-generated-pie-chart-items-t183429.
<dxm:VectorLayer.Data>
<dxm:PieChartDataAdapter DataSource="{Binding Source={StaticResource dataSource}, XPath=Table1}"
ItemIdDataMember="Country" ItemMaxSize="60" ItemMinSize="10">
<dxm:PieChartDataAdapter.Mappings>
<dxm:MapPieMappingInfo Latitude="CapitalLat" Longitude="CapitalLon"
SegmentId="MedalClass" SegmentValue="Quantity"/>
</dxm:PieChartDataAdapter.Mappings>
<dxm:PieChartDataAdapter.PieSettings>
<dxm:MapPieSettings HoleRadiusPercent="50" RotationAngle="90"
RotationDirection="CounterClockwise" />
</dxm:PieChartDataAdapter.PieSettings>
</dxm:PieChartDataAdapter>
</dxm:VectorLayer.Data>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the MapPieSettings class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.