Drill down in Pie Chart

4 posts, 0 answers
  1. Sarper
    Sarper avatar
    22 posts
    Member since:
    Aug 2012

    Posted 14 Jun 2012 Link to this post

    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.
  2. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 15 Jun 2012 Link to this post

    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
  3. DevCraft banner
  4. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 19 Jun 2012 Link to this post

    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 >>

  5. Sarper
    Sarper avatar
    2 posts
    Member since:
    Jun 2012

    Posted 19 Jun 2012 Link to this post

    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
Back to Top