Missing label text from kendo donut chart when showing on kendo Window in Google chrome

3 posts, 0 answers
  1. FSA
    FSA avatar
    4 posts
    Member since:
    Mar 2013

    Posted 18 Nov 2013 Link to this post

    In one of our requirement, we are showing kendo donut chart on kendo window. Kendo donut chart is rendering properly but its label are not getting placed at their correct coordinates( x, y) position.
    When we investigated further, we found out that label tag(<text>) is forming perfectly but it is not getting placed at its desired position. 

    Is this issue occuring as we are showing kendo donut chart on kendo Window? 
    We are getting this issue on Google Chrome only.
  2. Iliana Nikolova
    Iliana Nikolova avatar
    2622 posts

    Posted 19 Nov 2013 Link to this post

    Hi Rahul,

    I tried to reproduce the issue but to no avail - the chart is rendered within the window as expected. For your convenience here is my test jsBin example - could you please edit it and show me your current implementation? This way I would be able to check what exactly is going wrong and provide concrete recommendations. Thank you in advance for your time and cooperation.

    Iliana Nikolova
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. FSA
    FSA avatar
    4 posts
    Member since:
    Mar 2013

    Posted 21 Nov 2013 Link to this post

    Hi Iliana,

    Thanks for such a quick reply. But, my problem was somewhat different. I have resolved the issue.

    In my case, it was creating the kendo donut chart first and then after, it was creating the Kendo Window
    popup. Because of this, labels for legends and series were not able to get coordinates (x,y) position on Kendo Window at the time of Chart creation.

    We are keeping setTimeout() of 500 milliseconds. So, it will wait for half a second before creating the kendo chart. By that time, kendo Window DOM element is getting its desired dimension. 

    }, 500);
Back to Top