New to Telerik UI for WPF? Download free 30-day trial

How to place text in doughnut series center

Environment

Product RadChartView for WPF

Description

How to add text in the center of a doughnut series.

Solution

You can define the chart and position a TextBlock with the corresponding label on top of it as shown in Example 1.

Example 1: Adding a TextBlock label

<Grid> 
    <telerik:RadPieChart> 
        <!-- some settings here --> 
    </telerik:RadPieChart> 
    <TextBlock Text="Label Text" VerticalAlignment="Center" HorizontalAlignment="Center" /> 
</Grid> 

See Also

In this article
Not finding the help you need? Improve this article