Excluding axis from zoom

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
toreba
Newbie
Newbie
Posts: 17
Joined: Thu Aug 07, 2014 12:00 am

Excluding axis from zoom

Post by toreba » Fri Jun 12, 2015 2:57 pm

Hi,

When the user picks a zoom rectangle, I'd like to be able to exclude an axis from the subsequent zoom operation in order to preserve carefully arranged extents, increment and labelling. Is this possible?

Thanks!

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

Re: Excluding axis from zoom

Post by Narcís » Fri Jun 12, 2015 3:05 pm

Hi toreba,

You can set which directions will be zoomed: horizontal, vertical or both, for example:

Code: Select all

  Chart1.Zoom.Direction:=tzdVertical;
Is this what you are looking for?
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

toreba
Newbie
Newbie
Posts: 17
Joined: Thu Aug 07, 2014 12:00 am

Re: Excluding axis from zoom

Post by toreba » Fri Jun 12, 2015 3:35 pm

Yes, perfect! Thanks very much!

Post Reply