Placing text in donut chart hole

2 posts, 0 answers
  1. Mark
    Mark avatar
    4 posts
    Member since:
    Sep 2015

    Posted 16 Jun Link to this post

    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'."    

  2. Stefan
    Admin
    Stefan avatar
    264 posts

    Posted 20 Jun Link to this post

    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.
     
  3. Kendo UI is VS 2017 Ready
Back to Top