MouseInteraction, when does it get disabled?

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

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

MouseInteraction, when does it get disabled?

Post by greggorob64 » Wed Feb 17, 2016 10:36 pm

Hello. I have cases where i want to disable the ability for the user to modify the chart completely.

What i'd like to do is do chart.MouseInteraction = false;

However, i'm noticing that my control is still firing mousedown, mouseup, and mousemoved events. I was hoping there wouldn't be a distinction in things like scroll-wheel-to-zoom, and whether or not the mousedown event gets fired.

Thanks!

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

Re: MouseInteraction, when does it get disabled?

Post by ArctionPasi » Thu Feb 18, 2016 1:32 pm

Hi, you can disable all mouse-interop by setting chart.Enabled = false
LightningChart Support Team, PT

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

Re: MouseInteraction, when does it get disabled?

Post by greggorob64 » Fri Feb 19, 2016 4:53 pm

Thanks. That should work perfectly, assuming there isn't a change in the display