This is a migrated thread and some comments may be shown as answers.

Legend in Pie Chart

1 Answer 77 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bruno Costa
Top achievements
Rank 1
Bruno Costa asked on 03 Mar 2011, 03:29 PM
Hello guys,

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

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

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

How can I do this???

thank's

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 09 Mar 2011, 10:27 AM
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!
Tags
Chart (obsolete as of Q1 2013)
Asked by
Bruno Costa
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or