Page 1 of 1

Legend Hiding on Zooming

Posted: Fri Aug 19, 2011 3:46 pm
by 15659467
Hi

I have implemented Zooming on my mouse scroll so that my chart gets zoomed along with its axis. However, I am facing problems in two scenarios:
1- When legend scroll bar is not present, on zooming in, my chart covers (hides) the legend.
2- When legend scroll bar is present, on zooming in, the legend is covered (hidden) as above but the legend scrollbar does not hide. It shows on top of the zoomed chart.

Is there any way to solve the above problems? My requirement is that when my chart zooms then legend should not hide.

Thanks & Regards

Re: Legend Hiding on Zooming

Posted: Tue Aug 23, 2011 11:45 am
by 10050769
Hello

I can not reproduce your problem here. Could you please, send us a simple project so we can reproduce exactly your problem with LegendScrollBar?

Thanks,

Re: Legend Hiding on Zooming

Posted: Fri Sep 02, 2011 2:10 pm
by 15659467
hi
here i am sending some image to demonstrate my problem.
image 1 is my normal chart without zooming.
In image 2 i started zooming on mousescroll here legend hiding problem start .
in image 3 legend become completely hide but legend scrollbar is on top of the chart.
Is there any way to solve the above problems? My requirement is that when my chart zooms then legend should not hide(if possible)or legend scrollbar should not shows on top of the chart.

thanks&regards

Re: Legend Hiding on Zooming

Posted: Mon Sep 05, 2011 9:34 am
by yeray
Hello,

Have you tried setting the following property?

Code: Select all

tChart1.Legend.DrawBehind = false;

Re: Legend Hiding on Zooming

Posted: Mon Sep 19, 2011 9:57 am
by 15659467
hi,

tChart1.Legend.DrawBehind = false;
this code is not working.

thanks&regards

Re: Legend Hiding on Zooming

Posted: Mon Sep 19, 2011 2:16 pm
by 10050769
Hello Planoresearch,

Using the line of code of Yeray suggested you, and works fine for me. Can you please, arrange a simple project, so we can reproduce your problem exactly here?

Thanks,