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

Chart width when legend is below

3 Answers 126 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
GrZeCh
Top achievements
Rank 2
GrZeCh asked on 23 Oct 2008, 06:37 PM
Hello!

I've moved legend  to the bottom by setting:

                            <Legend> 
                                <Appearance Position-AlignedPosition="Bottom" Overflow="Row"
                                </Appearance> 
                            </Legend> 

and now on the right of chart where was legend previously is empty place (chart width has nod adjusted). How can I fix this?

3 Answers, 1 is accepted

Sort by
0
Accepted
Giuseppe
Telerik team
answered on 24 Oct 2008, 01:06 PM
Hello GrZeCh,

We would suggest you to utilize the AutoLayout functionality provided by RadChart by setting the RadChart.AutoLayout property to true. You can find more information here and here.


Kind regards,
Manuel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
GrZeCh
Top achievements
Rank 2
answered on 24 Oct 2008, 01:20 PM
Great. It worked. Thanks
0
Marco
Top achievements
Rank 1
answered on 18 Nov 2009, 07:48 AM
I also had trouble aligning to bottom,

Adding autoLayout=true in the RadChart tag
and
<Legend> 
        <Appearance Overflow="row" Position-AlignedPosition="Bottom" Location="OutsidePlotArea" Dimensions-AutoSize="true">
      <Border Width="1" Color="ActiveBorder" /> 
        </Appearance> 
</Legend> 
made it happen.
Thank you forum! :)
Tags
Chart (Obsolete)
Asked by
GrZeCh
Top achievements
Rank 2
Answers by
Giuseppe
Telerik team
GrZeCh
Top achievements
Rank 2
Marco
Top achievements
Rank 1
Share this question
or