Skip to main content

PieChartStyle.SeriesIndent Property

Gets or sets the indent between two data series in the chart.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public int SeriesIndent { get; set; }

Property Value

Type Description
Int32

The indent between data series, in device-independent units.

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