MousePanThreshold

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
fredd41
Posts: 113
Joined: Fri Sep 05, 2014 6:46 pm

MousePanThreshold

Post by fredd41 » Thu Sep 25, 2014 4:06 pm

hi

is it possible to show the panning icon only after the MousePanThreshold?
it's very disturbing when you have a right-click event.

thanks

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

Re: MousePanThreshold

Post by ArctionPasi » Thu Sep 25, 2014 4:36 pm

Disable panning feature

Code: Select all

chart.ViewXY.ZoomPanOptions.RightMouseButtonAction = MouseButtonAction.None; 
or disable built-in cursor changing

Code: Select all

chart.AllowInternalMouseCursorChange = false;
LightningChart Support Team, PT

fredd41
Posts: 113
Joined: Fri Sep 05, 2014 6:46 pm

Re: MousePanThreshold

Post by fredd41 » Thu Sep 25, 2014 5:04 pm

1- I don't want to disable panning

2- I want to show icon only after the threshold
and I want to show all other internal icons

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

Re: MousePanThreshold

Post by ArctionPasi » Thu Sep 25, 2014 5:29 pm

Sorry, but it's not currently possible.
LightningChart Support Team, PT

fredd41
Posts: 113
Joined: Fri Sep 05, 2014 6:46 pm

Re: MousePanThreshold

Post by fredd41 » Thu Sep 25, 2014 6:49 pm

ok

and there is a workaround to change the background color outside of a band (see picture)

thanks
Attachments
Untitled2.png
Untitled2.png (12.14 KiB) Viewed 11316 times

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

Re: MousePanThreshold

Post by ArctionPasi » Thu Sep 25, 2014 7:05 pm

It's not Band's client area and it can't render there. Create 3 bands.

1-2 : Semi-opaque bands without with moving and resizing disabled
3: Middle one orange with resizing and moving enabled. Define ValuesChanged event handler for it, and update bands 1-2 with new values.
LightningChart Support Team, PT

fredd41
Posts: 113
Joined: Fri Sep 05, 2014 6:46 pm

Re: MousePanThreshold

Post by fredd41 » Thu Sep 25, 2014 9:23 pm

it works
thanks

Post Reply