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

How to customize Legend?

1 Answer 83 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Madhan
Top achievements
Rank 1
Madhan asked on 14 Sep 2012, 09:06 AM
Hello Team,

We are using RadChart control to show Revenue,here we have two series mappings like VTB and YOY.I have placed legend at top position.

We have arequirement like display Legend Name and Series in One line like:

Legend VTB YOY

but currently it is showing as follows

Legend
VTB
YOY

Can you please help me in this?

1 Answer, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 19 Sep 2012, 10:50 AM
Hi Madhan,

I believe that you have used different approach in placing the legend on top than the out-of-the-box solution, because when you set this: 

radChart.DefaultView.ChartLegendPosition = Dock.Top;
The chart legend automatically arranges its items horizontally. Note that for this to work you have to use the DefaultLayout of , and not a custom one.

I hope this is the solution you are searching for. You can check this article for more information.

Greetings,
Petar Kirov
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
Chart
Asked by
Madhan
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question
or