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

Exploded pie chart

4 Answers 135 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Celeste
Top achievements
Rank 1
Celeste asked on 12 Nov 2010, 03:34 PM
Please assist. I am using Q1 2010 and am trying to implement an exploding pie chart with ajax enabled. The chart datasource is a SQLServer stored procedure.

I just can't seem to find any examples that actually work in my project. There doesn't seem to be an

ChartSeriesItem.Exploded 

 

 property any longer--- are there any recent examples like this one which looks like it is really old?

http://demos1x.telerik.com/aspnet/Controls/Examples/Integration/Ajax/Chart/DefaultCS.aspx?product=chart

or this one:

http://demos1x.telerik.com/aspnet/Chart/Examples/Programming/Poll/DefaultCS.aspx

4 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 17 Nov 2010, 04:23 PM
Hi Celeste,

You can "explode" a single slice of the Pie by turning on Appearance.Exploded property of the pie series item.
To see this property in action take a look at our demo with full source code - http://demos.telerik.com/aspnet-ajax/chart/examples/appscenarios/poll/defaultcs.aspx.
I hope this gets you started properly.

Kind regards,
Evgenia
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Celeste
Top achievements
Rank 1
answered on 17 Nov 2010, 07:17 PM
Thank you! I ajax enabled the chart and it works just fine!
0
Celeste
Top achievements
Rank 1
answered on 17 Nov 2010, 07:30 PM
Actually, it didn't work just fine, the expanded sections didn't collapse when clicked.

Here is what I implemented whih kind of makes more sense

ChartSeriesItem

 

item = args.SeriesItem;

 

 

if (item != null)

 

{

 

if ((item.Appearance.Exploded))

 

{

item.Appearance.Exploded =

false;

 

}

 

else

 

{

item.Appearance.Exploded =

true;

 

}

}

0
Accepted
Evgenia
Telerik team
answered on 19 Nov 2010, 05:13 PM
Hi Celeste,

I am glad that you managed to sort this out. Please let me know if further questions arise. 

All the best,
Evgenia
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Chart (Obsolete)
Asked by
Celeste
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Celeste
Top achievements
Rank 1
Share this question
or