This is a migrated thread and some comments may be shown as answers.

Place text in doughnut series center in RadChartView

1 Answer 79 Views
GridView
This is a migrated thread and some comments may be shown as answers.
dharmesh
Top achievements
Rank 1
dharmesh asked on 16 Jan 2020, 01:00 PM

How to place text in the center of doughnut series in RadChartView as shown in attached image?

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 20 Jan 2020, 02:04 PM

Hello dharmesh,

There is not built-in feature that allows you to do this, but you can easily add a label using a native TextBlock element. Basically, you can define the chart and on top of it position a TextBlock with the corresponding label. Here is an example in code:

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

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
dharmesh
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or