zoom options

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
history
Newbie
Newbie
Posts: 29
Joined: Tue May 22, 2007 12:00 am

zoom options

Post by history » Wed Nov 21, 2007 6:44 am

Is it possible to

1) do an incremental unzoom of the chart area. If I zoom in a number of times to be able step back or unzoom each of the zoomed windows.
2) ability to scroll or pan using the mouse the chart area when a chart has been zoomed in.

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

Post by Narcís » Wed Nov 21, 2007 10:43 am

Hi history,

1. Zooming basically consists on changing axes scales. Therefore, to achieve that you should store an array with axes minimum and maximum values after each zoom. So that when you want to do a step back you can retrieve those values and apply them to the axes. For more information on axes please read Tutorial 4 - Axis Control. You may also be interested on using Zoomed and UndoneZoom events for that.

2. This is default behaviour. For more information on zooming and scrolling please read Tutorial 11 - Zoom and Scroll.

Tutorials can be found at TeeChart's program group.

Thanks in advance.
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

Post Reply