Legend in Pie Chart

Thread is closed for posting
2 posts, 0 answers
  1. Bruno Costa
    Bruno Costa avatar
    9 posts
    Member since:
    May 2010

    Posted 03 Mar 2011 Link to this post

    Hello guys,

    My question is simple: In pie chart, how can I put the correct legend for each piece of chart? For example:
    Sex        NumPeople
    Man       25
    Female  30

    The image chart is correct, but in legend just shows "Series1". The correct form for legend is:

    <Color of chart's pice> Man
    <Color of chart's pice> Female

    How can I do this???

  2. Vladimir Milev
    Vladimir Milev avatar
    1061 posts

    Posted 09 Mar 2011 Link to this post

    Hi Bruno Costa,

    You should use a Legend Display Mode of DataPointLabel. Also, this will require that you map your data to your DataPoint.LegendLabel property.

    Best wishes,
    Vladimir Milev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top