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

    Hello,

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

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

    In the chart Legend:

    .City1
    .City2
    .City3

    In each pie (label)
    .50
    .10
    .40

    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.

    Thanks

    Marcelo



    City1 |1000

  2. Ves
    Admin
    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,
    Ves
    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