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

Donut Data Source for AngularJS

1 Answer 67 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Antti
Top achievements
Rank 1
Antti asked on 26 Feb 2016, 08:25 AM

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.

1 Answer, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 01 Mar 2016, 09:24 AM
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!
 
Tags
Data Source
Asked by
Antti
Top achievements
Rank 1
Answers by
Helen
Telerik team
Share this question
or