Exploding pie example, please...

7 posts, 0 answers
  1. scott
    scott avatar
    67 posts
    Member since:
    Jul 2010

    Posted 17 Jul 2010 Link to this post

    I was excited to read about the interactivity feature that lets you explode a pie slice -- Is there an example somewhere ?

    Thanks
  2. Sia
    Admin
    Sia avatar
    667 posts

    Posted 19 Jul 2010 Link to this post

    Hi Scott,

    You can review our "First Look" example and the "Interactivity" one also.

    Regards,
    Sia
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. scott
    scott avatar
    67 posts
    Member since:
    Jul 2010

    Posted 21 Jul 2010 Link to this post

    That was great.  I added 3 lines of code and it all just works.  One question:  How can I tell from the chart area click handler which pie slice was clicked - is there a selected item attribute hidden away somewhere ?   Is there some way I can iterate the datapoints in a series and determine its clicked (exploded) state ?

    Thanks -
  5. Sia
    Admin
    Sia avatar
    667 posts

    Posted 23 Jul 2010 Link to this post

    Hi Scott,

    Unfortunately, such public API is not introduced with our Q2 version. We will deliver it with the Service Pack. We aim to achieve a more complex approach to allow selection through binding and through code.

    We will be glad if you provide more information about your scenario in order to to have it in mind when we improve the interactivity feature.
     
    Best wishes,
    Sia
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. scott
    scott avatar
    67 posts
    Member since:
    Jul 2010

    Posted 23 Jul 2010 Link to this post

    Hi Sia...  My compliments to your team on your responsiveness and great controls. 

    I am implementing a sequence of charts that display the distribution of certain events - say people reporting getting a cold.  There can be any number of related details about the person (continent, country, family size, marital status, whatever).  There can be N charts displayed.  The charts are managed by a CategoryManager that also manages a datagrid displaying the details.  When a chart area item gets clicked in any chart the CategoryManager gets notified so it can update the datagrid.  It would be really cool if the CategoryManager could:

    foreach (Chart chart in myCharts)
    {
        DataPoint dp = chart.SelectedDataPoint;
        if (dp != null) {
            string columnName = (string) chart.Tag;
            dataGrid.FilterBy(columnName, dp.LegendLabel);
        }
    }



  7. Wayne
    Wayne avatar
    1 posts
    Member since:
    Aug 2012
  8. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 02 Aug 2012 Link to this post

    Hi Wayne,

      You are correct, the links point to an older version of the demos. If you go to this link, you will find a blog post about the migration towards RadChartView.

    This is the link that will bring you to the online demo of the old version you're looking for: RadChart > First Look

    Good luck,
    Lancelot
Back to Top
DevCraft banner