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!
ViewXY: Zooming not working as expected
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: ViewXY: Zooming not working as expected
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
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