title | description | page_title | type | slug | position | tags | ticketid | res_type |
---|---|---|---|---|---|---|---|---|
How to place text in doughnut series center |
Add a label in the center of a DoughnutSeries. |
Include text in the middle of the doughnut inside a doughnut series |
how-to |
kb-chartview-howto-place-text-in-center-of-doughnutseries |
0 |
label, doughnut, series, center, text, pie, chart |
1449533 |
kb |
Product | RadChartView for WPF |
How to add text in the center of a doughnut series.
You can define the chart and position a TextBlock with the corresponding label on top of it as shown in Example 1.
{{region xaml-kb-chartview-howto-place-text-in-center-of-doughnutseries-0}}
<Grid>
<telerik:RadPieChart>
<!-- some settings here -->
</telerik:RadPieChart>
<TextBlock Text="Label Text" VerticalAlignment="Center" HorizontalAlignment="Center" />
</Grid>
{{endregion}}
- [DoughnutSeries]({%slug radchartview-series-doughnutseries%})