Chart.Zoom.ZoomRect() - What is the maximum height?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Martin
Newbie
Newbie
Posts: 2
Joined: Mon Oct 01, 2007 12:00 am

Chart.Zoom.ZoomRect() - What is the maximum height?

Post by Martin » Mon Feb 18, 2008 11:27 am

I am trying to customise the zoom so that the full height of the chart is always shown. I have a chart_Zoomed handler and I would like to modify the mouse selected zoom by setting the zoom rectangle y value to 0 and the height to the height of the chart. How can I obtain the correct height value for this?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Feb 18, 2008 2:17 pm

Hello Martin,

I may not understand what you are exactly trying to achieve but you may be interested in knowin about zoom Direction property:

Code: Select all

			tChart1.Zoom.Direction = ZoomDirections.Horizontal;
If this doesn't help don't hesitate to let us know.
Best Regards,
Narcís Calvet / 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

Martin
Newbie
Newbie
Posts: 2
Joined: Mon Oct 01, 2007 12:00 am

That does the trick!

Post by Martin » Mon Feb 18, 2008 4:35 pm

Thank you, that does exactly what i want.

Post Reply