Legend Hiding on Zooming

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Legend Hiding on Zooming

Post by Planoresearch » Fri Aug 19, 2011 3:46 pm

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

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

Re: Legend Hiding on Zooming

Post by Sandra » Tue Aug 23, 2011 11:45 am

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,
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

Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Re: Legend Hiding on Zooming

Post by Planoresearch » Fri Sep 02, 2011 2:10 pm

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
Attachments
Image1.jpg
image1
Image1.jpg (117.47 KiB) Viewed 6315 times
Image2.jpg
image2
Image2.jpg (129.19 KiB) Viewed 6312 times
image3.jpg
image3
image3.jpg (96.08 KiB) Viewed 6313 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Legend Hiding on Zooming

Post by Yeray » Mon Sep 05, 2011 9:34 am

Hello,

Have you tried setting the following property?

Code: Select all

tChart1.Legend.DrawBehind = false;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Re: Legend Hiding on Zooming

Post by Planoresearch » Mon Sep 19, 2011 9:57 am

hi,

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

thanks&regards

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

Re: Legend Hiding on Zooming

Post by Sandra » Mon Sep 19, 2011 2:16 pm

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,
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