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

Pie Chart Series

1 Answer 16 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Michael Campoamor
Top achievements
Rank 1
Michael Campoamor asked on 25 Jul 2012, 12:52 PM
OK,

Not sure how to do this...

Here is a query that will return ONE row:

SELECT  S.PercentFree AS '% Free', S.PercentReduced AS '% Reduced', S.PercentPaid AS '% Paid'
  FROM SchoolDemographics S
WHERE S.SchoolID = @SchoolID
     AND S.SchoolYear = @SchoolYear
     AND S.Grade = 'Total'

I want ONE pie chart to display the numeric values in the "slice" itself with the legend to the right to display column name, i.e.,
 - % Free
 - % Reduced
 - % Paid

Is this possible?

1 Answer, 1 is accepted

Sort by
0
Rosko
Telerik team
answered on 27 Jul 2012, 02:47 PM
Hello Michael,

This can be done. It is rather a complex approach. It requires to handle the ItemDataBound event of RadChart. Please, refer to the attached project. I hope this will help you to achieve the desired effect.

Greetings,
Rosko
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
Michael Campoamor
Top achievements
Rank 1
Answers by
Rosko
Telerik team
Share this question
or