wpf-devexpress-dot-xpf-dot-map-1f48c10f.md
Contains information about the mapping of Pie chart items.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public class MapPieMappingInfo :
MapItemMappingInfoBase
Public Class MapPieMappingInfo
Inherits MapItemMappingInfoBase
The following members return MapPieMappingInfo objects:
To automatically generate pie chart items from a datasource do the following.
MapPieMappingInfo object assigned to the PieChartDataAdapter.Mappings property.<dxm:VectorLayer.Data>
<dxm:PieChartDataAdapter DataSource="{Binding Source={StaticResource dataProvider}, XPath=Table1}"
ItemIdDataMember="Country" ItemMinSize="20" ItemMaxSize="60">
<dxm:PieChartDataAdapter.MeasureRules>
<dxm:MeasureRules RangeStops="1 10 20 30 40"/>
</dxm:PieChartDataAdapter.MeasureRules>
<dxm:PieChartDataAdapter.AttributeMappings>
<dxm:MapItemAttributeMapping Member="Name" Name="Name"/>
</dxm:PieChartDataAdapter.AttributeMappings>
<dxm:PieChartDataAdapter.Mappings>
<dxm:MapPieMappingInfo Latitude="CapitalLat" Longitude="CapitalLon"
SegmentId="MedalClass" SegmentValue="Quantity"/>
</dxm:PieChartDataAdapter.Mappings>
</dxm:PieChartDataAdapter>
</dxm:VectorLayer.Data>
Object DispatcherObject DependencyObject Freezable MapDependencyObject MapPointMappingInfoBase MapItemMappingInfoBase MapPieMappingInfo
See Also