Back to Devexpress

PieChartDataAdapter.PieSettings Property

wpf-devexpress-dot-xpf-dot-map-dot-piechartdataadapter-0de03a03.md

latest1.9 KB
Original Source

PieChartDataAdapter.PieSettings Property

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

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public MapPieSettings PieSettings { get; set; }
vb
Public Property PieSettings As MapPieSettings

Property Value

TypeDescription
MapPieSettings

A MapPieSettings value.

|

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>

See Also

PieChartDataAdapter Class

PieChartDataAdapter Members

DevExpress.Xpf.Map Namespace