Appearance in UWP Pivot Chart (SfPivotChart)

10 May 20211 minute to read

The SfPivotChart supports customizing the default appearance of the control. You can customize the default style of the control by modifying its properties as specified in the following code snippet.

<syncfusion:SfPivotChart x:Name="PivotChart1" BorderBrush="Black" BorderThickness="3" Background="LightBlue" Padding="10"
                         ItemSource="{Binding ProductSalesData}" PivotAxis="{Binding PivotAxis}"
                         PivotLegend="{Binding PivotLegend}" PivotCalculations="{Binding PivotCalculations}">
</syncfusion:SfPivotChart>
PivotChart1.BorderThickness = new Thickness(3);
PivotChart1.BorderBrush = new SolidColorBrush(Colors.Black);
PivotChart1.Background = new SolidColorBrush(Colors.LightBlue);
PivotChart1.Padding = new Thickness(10);
PivotChart1.BorderThickness = New Thickness(3)
PivotChart1.BorderBrush = New SolidColorBrush(Colors.Black)
PivotChart1.Background = New SolidColorBrush(Colors.LightBlue)
PivotChart1.Padding = New Thickness(10)

appearance