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

Placing text in donut chart hole

1 Answer 139 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 16 Jun 2016, 10:47 PM

I need to place some text in the center of a donut chart's hole.  I looked at the following guidelines:

http://docs.telerik.com/kendo-ui/controls/charts/how-to/donut-chart-hole-text

Given my current scenario I am not able to take advantage of the CSS option.  So I am trying the render event approach.  I get a typescript error on the "e.sender.surface.draw(text);" statement which says "Property 'surface' does not exist on type 'Chart'."    

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Jun 2016, 03:46 PM
Hello Mark,

Thank you for reporting this.

I can confirm this is an issue with generating the typescript directives.

I logged an issue in our repository on GitHub, so our developers can investigate it further and for you to track its progress at: 

https://github.com/telerik/kendo-ui-core/issues/1821

In addition, I updated your Telerik points for bringing this to our attention.

Regards,
Stefan
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Charts
Asked by
Mark
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or