Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PieChartStyle Class

Stores the pie chart’s appearance settings.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public class PieChartStyle :
    ChartStyleBase

The following members return PieChartStyle objects:

#Remarks

Assign a PieChartStyle class instance with the specified appearance settings to the PieChartView.ChartStyle property to customize the pie chart appearance.

#Example

This example customizes 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