Trouble Using Pie Chart

Thread is closed for posting
2 posts, 0 answers
  1. PJ Rodriguez
    PJ  Rodriguez avatar
    37 posts
    Member since:
    Feb 2005

    Posted 03 Jan 2013 Link to this post

    I am migrating my data visualization components from Infragistics to Telerik.

    I'm having a bit of trouble using Telerik's pie chart. I have the chart databound to a sqldatasource that returns the following table as a result:
    Budget Fund
     $  15,264,742.00 General Operating Funds
     $    5,337,148.00 Special Revenue Funds
     $        833,073.00 Debt Service Funds
     $  11,789,840.00 Capital Investment Funds
     $  10,818,935.00 Enterprise Funds
     $    4,691,914.00 Internal Service Funds
     $        201,776.00 Other Funds

    The challenge is this, I want the Budget values to show up on the actual pie and on the legend, I want the Fund names to show up. What Telerik does by default is have the Budget values show up on the pie and on the legend block, it just shows the word Budget. I don't think that's very helpful at all for visualization. The end user needs to see the number and they need to be able to see what fund the actual number belongs to.

    In Infragistics, this was done by default. Telerik seems to have a different mechanism in plotting this out. Any help is certainly appreciated.
  2. Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 08 Jan 2013 Link to this post

    Hi PJ Rodriguez,

    I have attached a sample project, demonstrating the functionality you need. Basically, I used the BeforeLayout to change pie slice labels to the datapoint values.

    I hope this helps.
    Petar Kirov
    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.
Back to Top