Skip to main content

ChartView.ChartStyle Property

Gets or sets the chart appearance settings. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

Declaration

public ChartStyle ChartStyle { get; set; }

Property Value

Type Description
ChartStyle

The chart appearance settings.

Example

This example customizes the appearance and layout of a chart.

<ContentPage>
    <ContentPage.BindingContext>
        <local:ViewModel/>
    </ContentPage.BindingContext>
    <dxc:ChartView>
        <!--...-->
        <dxc:ChartView.ChartStyle>
            <dxc:ChartStyle Palette="{Binding Palette}"
                            BackgroundColor="#bcebf7"
                            Padding="100, 50, 50, 50"
                            BorderColor="#800404"
                            BorderThickness="10"/>
        </dxc:ChartView.ChartStyle>
    </dxc:ChartView>
</ContentPage>

Pie Chart Style

See Also