Page 1 of 1

Legend overlaps with display

Posted: Fri Feb 25, 2011 5:27 pm
by 13051032
Hi,
2-25-2011 8-17-21 AM.png
2-25-2011 8-17-21 AM.png (65.4 KiB) Viewed 3761 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

Re: Legend overlaps with display

Posted: Mon Feb 28, 2011 12:45 pm
by 10050769
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,