Pie Chart Series

Thread is closed for posting
2 posts, 0 answers
  1. Michael Campoamor
    Michael Campoamor avatar
    4 posts
    Member since:
    Mar 2009

    Posted 25 Jul 2012 Link to this post


    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?
  2. Rosko
    Rosko avatar
    137 posts

    Posted 27 Jul 2012 Link to this post

    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.

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top