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

text in donut hole?

3 Answers 114 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 26 Jun 2015, 06:49 PM

when the user clicks on a piece of the donut, I would like to have some text (via template) show up in the donut hole. Is this possible and if so, how?

Thanks,

--Ed

3 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 30 Jun 2015, 08:35 AM

Hi Ed,

This scenario is not supported out-of-the-box by Kendo UI Chart and its implementation requires additional code. I would suggest the following approach:
- Bind to the seriesClick event;
- Get the clicked value from the event data;
- Set this value as text to an additional HTML element.
For your convenience here is a basic example.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Suresh
Top achievements
Rank 1
answered on 24 Feb 2016, 05:00 PM
Hi I want to do upper curve for the particular area of donut chart like the below image. Is there a way in kendo ui?
0
Iliana Dyankova
Telerik team
answered on 26 Feb 2016, 02:10 PM
Hi Suresh,

It is accepted to post different questions is separate threads. As this question is not related to the initial one in this forum I would like to ask you to open a new conversation for it.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Ed
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Suresh
Top achievements
Rank 1
Share this question
or