Prevent Scroll and Zoom with mouse wheel above axes

Post your questions related to updating from LightningChart Ultimate v.5 to v.6 here

Moderator: Arction_LasseP

Post Reply
frank
Posts: 51
Joined: Tue Mar 25, 2014 9:04 am

Prevent Scroll and Zoom with mouse wheel above axes

Post by frank » Mon May 12, 2014 9:04 am

Hi,

I have set

Code: Select all

axisX.MouseScrolling = false;
axisX.MouseScaling = false;
in my code. But after updating to LC6 it is possible to scale axes via mousewheel. Where is the property to prevent this?

Best regards,
Frank

User avatar
ArctionPasi
Posts: 1362
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Prevent Scroll and Zoom with mouse wheel above axes

Post by ArctionPasi » Mon May 12, 2014 2:03 pm

Set ZoomPanOptions.AxisMouseWheelAction = None
LightningChart Support Team, PT

frank
Posts: 51
Joined: Tue Mar 25, 2014 9:04 am

Re: Prevent Scroll and Zoom with mouse wheel above axes

Post by frank » Mon May 12, 2014 2:14 pm

I'm sorry,
but I can't find

Code: Select all

axisX.ZoomPanOptions.AxisMouseWheelAction
and also no

Code: Select all

chart.ViewXY.ZoomPanOptions.AxisMouseWheelAction
Where do I find this property?

Best regards,
Frank

User avatar
ArctionPasi
Posts: 1362
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Prevent Scroll and Zoom with mouse wheel above axes

Post by ArctionPasi » Mon May 12, 2014 2:44 pm

ViewXY.ZoomPanOptions.AxisMouseWheelAction is the correct property, but it's only accessible in WinForms. We'll improve this in next release.
LightningChart Support Team, PT

Post Reply