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

Legend with title in RadChart

2 Answers 105 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Sabrina
Top achievements
Rank 1
Sabrina asked on 26 Jan 2009, 10:36 AM
Hello,

I use Q3 version of asp.net ajax radcontrols.

I want to add a title of the legend box on my chart. Can I do that ?

For example :
Products sails :
- serie 1
- serie 2
- serie 3

Thank you in advance,

Sabrina

2 Answers, 1 is accepted

Sort by
0
Accepted
Velin
Telerik team
answered on 27 Jan 2009, 11:32 AM
Hi Sabrina,

Yes, you can set a title to the legend of RadChart. And since the title is hidden by default you should make it visible. Here is how this could be done:

chart.Legend.TextBlock.Text = "Products sails :"
chart.Legend.TextBlock.Visible = true


Best wishes,
Velin
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sabrina
Top achievements
Rank 1
answered on 27 Jan 2009, 02:25 PM
Thank you, it's perfect !

Sabrina
Tags
Chart (Obsolete)
Asked by
Sabrina
Top achievements
Rank 1
Answers by
Velin
Telerik team
Sabrina
Top achievements
Rank 1
Share this question
or