Pie Chart Problem

Thread is closed for posting
2 posts, 0 answers
  1. mhokano
    mhokano avatar
    1 posts
    Member since:
    Aug 2007

    Posted 23 Jun 2010 Link to this post


    I have a problem. I need to show a Pie chart populated with databound, but I need to show informations like in this example:

    Cities | Population
    City1 |50
    City2 |10
    City3 |40

    In the chart Legend:


    In each pie (label)

    It must be simple, but I dont know how to configure the control to show this. I always have the same values in legend and label.



    City1 |1000

  2. Ves
    Ves avatar
    2926 posts

    Posted 28 Jun 2010 Link to this post

    Hi mhokano,

    You can find a similar task discussed in this blog post. You will need to make a small change -- the values in the legend are taken from the ChartSeriesItem.Name property, so you have to update the item.Name property in the ItemDataBound event handler.

    Kind regards,
    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
Back to Top