Legend overlaps with display

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Legend overlaps with display

Post by asupriya » Fri Feb 25, 2011 5:27 pm

Hi,
2-25-2011 8-17-21 AM.png
2-25-2011 8-17-21 AM.png (65.4 KiB) Viewed 3803 times
As shown above, the legend at the bottom sometimes overlaps with the display. Can you please suggest a way to automatically adjust the chart height so that legend doesn't overlap with the graph display?

Thanks

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Legend overlaps with display

Post by Sandra » Mon Feb 28, 2011 12:45 pm

Hello asupriya,

I recommend you that use CustomPosition of legend as false as do in next lines of code:

Code: Select all

        tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom;
            tChart1.Legend.CustomPosition = false;
Could you tell us if it work as you expected?

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply