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

Exploding pie example, please...

6 Answers 104 Views
Chart
This is a migrated thread and some comments may be shown as answers.
scott
Top achievements
Rank 1
scott asked on 17 Jul 2010, 05:18 AM
I was excited to read about the interactivity feature that lets you explode a pie slice -- Is there an example somewhere ?

Thanks

6 Answers, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 19 Jul 2010, 11:08 AM
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
0
scott
Top achievements
Rank 1
answered on 21 Jul 2010, 05:53 AM
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 -
0
Sia
Telerik team
answered on 23 Jul 2010, 09:38 AM
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
0
scott
Top achievements
Rank 1
answered on 23 Jul 2010, 04:33 PM
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);
    }
}



0
Wayne
Top achievements
Rank 1
answered on 02 Aug 2012, 10:12 AM
0
Lancelot
Top achievements
Rank 1
answered on 02 Aug 2012, 05:15 PM
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
Tags
Chart
Asked by
scott
Top achievements
Rank 1
Answers by
Sia
Telerik team
scott
Top achievements
Rank 1
Wayne
Top achievements
Rank 1
Lancelot
Top achievements
Rank 1
Share this question
or