Skip to main content
A newer version of this page is available. .

PieChartView.ChartStyle Property

Gets or sets the pie chart appearance settings.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

Declaration

public PieChartStyle ChartStyle { get; set; }

Property Value

Type Description
PieChartStyle

The pie chart appearance settings.

Example

This example demonstrates how to customize the appearance and layout of a pie chart.

<ContentPage>
    <ContentPage.BindingContext>
        <local:ViewModel/>
    </ContentPage.BindingContext>
    <dxc:PieChartView>
        <!--...-->
        <dxc:PieChartView.ChartStyle>
            <dxc:PieChartStyle Palette="{Binding Palette}" 
                               BackgroundColor="#e5e5e5"
                               BorderColor="#747987"
                               BorderThickness="10"
                               SeriesIndent="70"
                               Padding="70,20,0,0"/>
        </dxc:PieChartView.ChartStyle>
    </dxc:PieChartView>
</ContentPage>

Pie Chart Style

See Also