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

Automatically Resize the Legend

3 Answers 53 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Manish Sapkota
Top achievements
Rank 1
Manish Sapkota asked on 03 Mar 2010, 03:20 AM
Hi,
I am trying the telerik chart in a custom made dashboard which can have 1-4 charts at one time. The chart wrapper element(canvas) gets resized add we add more charts to it(max of 4). I have been working with the chart and have noticed that as the chart wrapper element gets resized chart area adjusts itself accordingly but not the legend. Legend gets hidden to the right.

What I need now is to automatically resize the legend( legend label,legend area and the preview like element to the left).

I have tried alternative solution to resize on the chart changed event and managed to change the font size but not the legend title, legend area and the preview element width.

How can I solve this?

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 05 Mar 2010, 09:08 AM
Hello Manish,

I am glad to announce that with the next version of RadChart (expected next week) we will provide numerous improvements, including the legend. You will be able to choose its position and the legend will be enhanced, so that no items are clipped. Instead, the legend will change its size to accommodate all the items. Still, for changing the legend font/style, please find more details in this help topic.

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.
0
Grtjn
Top achievements
Rank 1
answered on 12 Apr 2010, 10:51 AM
Hi Ves,

I also have the same problem.
But where can I get this "next version of RadChart" ?

Was this in the Q1 2010 release? And if so, is there a workaround for Q3 2009 ?

Kind regards,

Gertjan
0
Grtjn
Top achievements
Rank 1
answered on 13 Apr 2010, 07:54 AM
So I tried it with the Q1 2010 version and there the legend resizes nicely.
But still I need a workaround for the Q3 2009 version, because this is the layout the company desires...

Any help here ?

Kind regards,

Gertjan
Tags
Chart
Asked by
Manish Sapkota
Top achievements
Rank 1
Answers by
Ves
Telerik team
Grtjn
Top achievements
Rank 1
Share this question
or