Skip to main content

PieChartDataAdapter.PieSettings Property

Gets or sets map pie chart settings used to display the PieChartDataAdapter data.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public MapPieSettings PieSettings { get; set; }

Property Value

Type Description
MapPieSettings

A MapPieSettings value.

Example

<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>
See Also