Automatically Resize the Legend

4 posts, 0 answers
  1. Manish Sapkota
    Manish  Sapkota avatar
    2 posts
    Member since:
    Feb 2010

    Posted 02 Mar 2010 Link to this post

    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?

  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 05 Mar 2010 Link to this post

    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.
  3. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 12 Apr 2010 Link to this post

    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
  4. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 13 Apr 2010 Link to this post

    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
Back to Top