Page 1 of 1

Excluding axis from zoom

Posted: Fri Jun 12, 2015 2:57 pm
by 16569987
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!

Re: Excluding axis from zoom

Posted: Fri Jun 12, 2015 3:05 pm
by narcis
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?

Re: Excluding axis from zoom

Posted: Fri Jun 12, 2015 3:35 pm
by 16569987
Yes, perfect! Thanks very much!