Zoom of 2 charts simultan

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Werner
Newbie
Newbie
Posts: 46
Joined: Mon Aug 06, 2007 12:00 am

Zoom of 2 charts simultan

Post by Werner » Tue Jul 08, 2008 9:21 am

Hi,

how can I link the zoom of 2 charts, so that if I zoom one chart the other chart zoom in the same way and vice versa.

best regards
Werner

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

Post by Narcís » Tue Jul 08, 2008 9:50 am

Hi Werner,

You should use OnZoom and OnUndoZoom events and set other's chart vertical and horizontal axes min. and max. (SetMinMax) according to the zoomed chart axes scales.
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