ViewXY: Zooming not working as expected

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

ViewXY: Zooming not working as expected

Post by greggorob64 » Fri Aug 08, 2014 3:32 pm

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?


User avatar
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: ViewXY: Zooming not working as expected

Post by ArctionPasi » Mon Aug 11, 2014 8:07 pm


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
LightningChart Support Team, PT