Page 1 of 1

Prevent excessive zoom + zoom & multiple axix

Posted: Wed Sep 21, 2011 6:23 pm
by 10551030
Hi,
Is there a way to prevent the user to zoom beyond a certain point. for example when the interval of the bottom axix has reached a certain value.

Is there a way to allow zooming 1 Y axes when multiple Y axes are present, my tests show so far the zooming when multiple Y axes are present only works ok on the X axis. If not what would be my options.

Thanks

Re: Prevent excessive zoom + zoom & multiple axix

Posted: Wed Sep 21, 2011 11:00 pm
by 10551030
Please add to component OnBeforeZoom event

2nd question still pending

Thanks

Re: Prevent excessive zoom + zoom & multiple axix

Posted: Thu Sep 22, 2011 7:17 am
by narcis
Hi marc_x
Is there a way to allow zooming 1 Y axes when multiple Y axes are present, my tests show so far the zooming when multiple Y axes are present only works ok on the X axis. If not what would be my options
Zooming is not supported on custom axes. Please read this FAQ item on how to zoom custom axes.

Thanks in advance.

Re: Prevent excessive zoom + zoom & multiple axix

Posted: Thu Sep 22, 2011 10:22 pm
by 10551030
FAQ mentions Chart->IZoom which does not exists... tried with IPanning which seemed relevant with no success. couls you please update the FAQ with up to date code

Regards

Re: Prevent excessive zoom + zoom & multiple axix

Posted: Fri Sep 23, 2011 7:14 am
by narcis
Hi marc_x,

Please try using Chart.Zoom instead of IZoom, for example:

Code: Select all

  Chart1.Zoom.X0