Donut Data Source for AngularJS

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

    Posted 26 Feb Link to this post

    Hi!

    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
    Admin
    Helen avatar
    1052 posts

    Posted 01 Mar Link to this post

    Hi Antti,

    Find below an example how to achieve this with angular:

    http://dojo.telerik.com/AfeDe


    Regards,
    Helen
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top