Back to Devexpress

MapPieSettings Class

wpf-devexpress-dot-xpf-dot-map-6c40d453.md

latest2.6 KB
Original Source

MapPieSettings Class

Contains settings used to generate Pie chart items.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public class MapPieSettings :
    MapItemSettingsBase
vb
Public Class MapPieSettings
    Inherits MapItemSettingsBase

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

xaml
<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>

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject MapItemSettingsBase MapPieSettings

See Also

MapPieSettings Members

DevExpress.Xpf.Map Namespace