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

Drill down in Pie Chart

3 Answers 115 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Sarper
Top achievements
Rank 2
Sarper asked on 14 Jun 2012, 01:40 PM
Hello,
       Is there a control for drill down in pie charts, i have seen your documentation but they are not clear enough to explain that feature.
Can you give me an example of that feature using pie chart?
Thank you.

3 Answers, 1 is accepted

Sort by
0
Lancelot
Top achievements
Rank 1
answered on 15 Jun 2012, 04:01 PM
Hi Sarper,

  Before you can start using the drill down feature of RadChart, you'll need to implement Hierarchial View. This document will guide you through making sure your data is set up using ChartHierarchialViewDescriptor objects. After doing this, you can use this document as example code. It shows you how to layout your chart according to what level of data you are on.

  Even though the example is with a BarChart, the same process is used for a pie chart. For instance, you notice the chart in the example first shows the car manufacturers "ToyYoda" and "Marda". This is your first level of hierarchial data. Then when you drill down it goes to the car model level and displays "Coolla" and "Veso".

I hope this clear it up for you, create the levels, then you can drill down.

Good Luck,
Lancelot
0
Petar Marchev
Telerik team
answered on 19 Jun 2012, 06:58 AM
Hello Sarper,

Yes, you can use the RadChart for drill-down. I have attached a simple app that demonstrates the use of Pie, Bar and Line series. The provided project is pretty much self-explanatory. Let us know if you have any concrete questions. 

Kind regards,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Sarper
Top achievements
Rank 1
answered on 19 Jun 2012, 08:16 AM
Hello Peter Marchev and Lancelot,

   Firstly, i am grateful for your help and i will look at this example project. However, i will use the Prism Framework to Undo-Redo between charts. But there are 2 options now.
Best regards
Tags
Chart
Asked by
Sarper
Top achievements
Rank 2
Answers by
Lancelot
Top achievements
Rank 1
Petar Marchev
Telerik team
Sarper
Top achievements
Rank 1
Share this question
or