# Customizing PieChart Series

This article demonstrates how you can change the default look of the **RadPieChart** series.

## Customizing Pie Series

### DefaultSliceStyle

This series expose the **DefaultSliceStyle** property. It is of type **Style** and determines the appearance of the [Path](http://msdn.microsoft.com/en-us/library/system.windows.shapes.path\(v=vs.110\).aspx) element used to visualize the **PieSeries**. Your custom style should target the native **Path** component. You can set the property like this:

```XAML
<telerik:PieSeries.DefaultSliceStyle>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="YellowGreen"/>
    </Style>
</telerik:PieSeries.DefaultSliceStyle>
```

![radchartview-styles-and-templates-Pie Series-defaultvisualstyle](https://www.telerik.com/products/wpf/documentation/assets/534830b518c9c76843ec4b133ef106ba/radchartview-styles-and-templates-pieseries-defaultvisualstyle.png)

### SliceStyles

This series also expose the **SliceStyles** property. It is of type **ObservableCollection<Style>** and gets or sets a collection of styles that will be consecutively applied on all slices of the **PieSeries**. This means that if you have more slices than Styles defined, the RadPieChart will repeatedly apply the collection so that the number of the applied styles equals the number of the slices. You can define the collection in XAML like this:

```XAML
<telerik:PieSeries.SliceStyles>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="YellowGreen"/>
    </Style>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="Red"/>
    </Style>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="Yellow"/>
    </Style>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="Green"/>
    </Style>
</telerik:PieSeries.SliceStyles>
```

![radchartview-styles-and-templates-Pie Series-Slice Styles](https://www.telerik.com/products/wpf/documentation/assets/0cd5c5b0b33e8a46434a9c596b54fa46/radchartview-styles-and-templates-pieseries-slicestyles.png)

## Customizing Doughnut Series

### DefaultSliceStyle

This series expose the **DefaultSliceStyle** property. It is of type **Style** and determines the appearance of the [Path](http://msdn.microsoft.com/en-us/library/system.windows.shapes.path\(v=vs.110\).aspx) element used to visualize the **DoughnutSeries**. Your custom style should target the native **Path** component. You can set the property like this:

```XAML
<telerik:DoughnutSeries.DefaultSliceStyle>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="YellowGreen"/>
    </Style>
</telerik:DoughnutSeries.DefaultSliceStyle>
```

![radchartview-styles-and-templates-Doughnut Series-defaultvisualstyle](https://www.telerik.com/products/wpf/documentation/assets/f6d9eca8bee5031ea44e0642ce196a57/radchartview-styles-and-templates-doughnutseries-defaultvisualstyle.png)

### SliceStyles

This series also expose the **SliceStyles** property. It is of type **ObservableCollection<Style>** and gets or sets a collection of styles that will be consecutively applied on all slices of the **PieSeries** This means that if you have more slices than Styles defined, the RadPieChart will repeatedly apply the collection so that the number of the applied styles equals the number of the slices. You can define it like this:

```XAML
<telerik:DoughnutSeries.SliceStyles>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="YellowGreen"/>
    </Style>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="Red"/>
    </Style>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="Yellow"/>
    </Style>
    <Style TargetType="Path">
        <Setter Property="Fill" Value="Green"/>
    </Style>
</telerik:DoughnutSeries.SliceStyles>
```

![radchartview-styles-and-templates-Doughnut Series-Slice Styles](https://www.telerik.com/products/wpf/documentation/assets/c28e3acd68ef07249baefd17eba786a0/radchartview-styles-and-templates-doughnutseries-slicestyles.png)

## See Also

* [Customizing CartesianChart Series](https://www.telerik.com/products/wpf/documentation/controls/radchartview/styles-and-templates/customizing-cartesianchart-series)

* [Customizing PolarChart Series](https://www.telerik.com/products/wpf/documentation/controls/radchartview/styles-and-templates/customizing-polarchart-series)
