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

Multiple Grouping of Pie Chart Data

1 Answer 51 Views
Chart
This is a migrated thread and some comments may be shown as answers.
KADI
Top achievements
Rank 1
KADI asked on 19 Jul 2011, 09:10 AM
Hello,

I have a full dynamic data created during execution, i want t represent it in format of chart, for the bar chart everything works fine, but when it comes to pie chart i can't get the desired behavior.
Let me clarify my problem with an example.
Suppose i have a 3 columns, 1 column of a numeric data type, the two other are gonna be used for grouping, when doing so the pie chart is redrawn one in from of the previous, but what i need is for it to draw as many pies as the number of categories in the first grouping data, and each pie represent the data according to the second grouping parameter.

for the example in  the attached images, i want the data to be represented in two pie chart one that represent day, the other represent night. i appreciate any help

Thanks before hand.
Best regards, H.KADI

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 21 Jul 2011, 12:40 PM
Hello Kadi,

Unfortunately, RadChart does not support dynamically generated multiple pie charts. You can achieve the desired result by creating multiple ChartAreas, each one containing one pie.Creating multiple ChartAreas is shown in this help topic. Then you can use Filtering in order to show each specific category in its own pie. Due to the dynamic nature of the data, you will have to perform these task dynamically in code.

Best regards,
Ves
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Chart
Asked by
KADI
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or