Donut Data Source for AngularJS

2 posts, 0 answers
  1. Antti
    Antti avatar
    6 posts
    Member since:
    Jan 2016

    Posted 26 Feb 2016 Link to this post


    Which data format should use with the kendo UI AngularJS donut chart in order to get multiple inner donuts (see the attachment)? I have managed to draw a donut with one only by using the following simple data format:

    [{ "source": "Hydro", "percentage": 22 }, { "source": "Solar", "percentage": 2 }, { "source": "Nuclear",  "percentage": 49 }, { "source": "Wind", "percentage": 27 }];

    However, I need multiple rings. Could you please help me out? It would be cool if Telerik provided data structures also for AngularJS examples.
  2. Helen
    Helen avatar
    1052 posts

    Posted 01 Mar 2016 Link to this post

    Hi Antti,

    Find below an example how to achieve this with angular:

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top