Page 1 of 1

ViewXY: Zooming not working as expected

Posted: Fri Aug 08, 2014 3:32 pm
by greggorob64
I would like my SampelLineSeries chart to zoom in the following fashion:

Wheel: Zoom in X
Control+Wheel: Zoom In Y

I've tried using thisChart.ViewXY.ZoomPanOptions.MouseWheelZooming = MouseWheelZooming.Horizontal;

When I do this, and I hold the control key down, my icon changes to 'Y Zoom' as I'd like, but it doesn't zoom, i get no response.
When I hold Control+Shift+Wheel, it has the 'Zoom XY' icon, but only zooms in X.

What am I missing?

Thanks!

Re: ViewXY: Zooming not working as expected

Posted: Mon Aug 11, 2014 8:07 pm
by ArctionPasi
Hi,

when holding Ctrl down, it sets vertical zooming modifier. When you click on the chart, it zooms vertically only. Mouse wheel setting doesn't change this. If MouseWheelZooming = Horizontal, it just ignores vertical mouse wheel actions.

I'd suggest leaving MouseWheelZooming = HorizontalAndVertical, and using the built-in zooming like this:
MouseWheel: horizontal and vertical zooming
MouseWheel + Ctrl: vertical zooming
MouseWheel + Shift: horizontal zooming