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

Chart Series Issue: Rending Pie/Donut Chart

2 Answers 74 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 21 Aug 2012, 02:25 PM
My web service returns the following values:

[
{
"TotalStores":777
,"Status1":642
,"Status2":45
,"Status3":90
}
]


How could I make a pie chart or donut chart for status?

2 Answers, 1 is accepted

Sort by
0
lea
Top achievements
Rank 1
answered on 27 May 2014, 09:15 AM
Hi,

I have the same issue, I get the following JSON from my webservice :
[
     {
          "eeDate":"2014/05/27",
          "kcal":410,
          "eeCategory1":3,
          "eeCategory2":3,
          "eeCategory3":7,
          "eeCategory4":11
     }
]

I've looked for an answer in the whole forum but couldn't find one. I'm trying to display a pie chart with the values "eeCategory#".
Thanks for your help.
0
Atanas Korchev
Telerik team
answered on 27 May 2014, 01:40 PM
Hi,

The chart needs an array of values. You need to process the data a bit so the chart is able to populate. Here is how: http://trykendoui.telerik.com/@korchev/UKOy

Regards,
Atanas Korchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Thomas
Top achievements
Rank 1
Answers by
lea
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or