Having 'draw box' respond to control and shift

Need a new feature to LightningChart Ultimate? Post it here and perhaps it will be implemented in the next version...

Moderator: Arction_LasseP

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

Having 'draw box' respond to control and shift

Post by greggorob64 » Tue Mar 14, 2017 2:44 pm

Hello!

A feature my users love is the fact that you can:

-Scroll-wheel to zoom X&Y
-Control+Scroll-Wheel to zoom Y
-Shift+Scroll-Wheel to zoom X

Something that has been asked for a whole bunch of times is for similar effect when using the 'drag to zoom' rectangle. It would be amazing if you can hold control or shift, and either

1) Draw the normal box, but only zoom in X or Y if control or shift is pressed (still using the custom icons) OR
2) Draw the selection range as a vertical or horizontal band if control or shift is pressed ( which i'm sure is more complicated)

Thank you!

ArctionKestutis
Posts: 400
Joined: Mon Mar 14, 2016 9:22 am

Re: Having 'draw box' respond to control and shift

Post by ArctionKestutis » Wed Mar 15, 2017 2:47 pm

Hello,

You probably know that you can modify rectangle zoom direction with property

Code: Select all

ViewXY.ZoomPanOptions.RectangleZoomDirection = Vertical / Horizontal / Both;
However, combine it with CTRL or SHIFT key is more tricky. Currently mouse click associated with following behavior:
* Ctrl+Left Click zoom in on yAxis.
* Ctrl+Right Click zoom out on yAxis.
* Shift+Left Click zoom in on xAxis.
* Shift+Right Click zoom out on xAxis.

Therefore, you may need to use other Keys to get the desired effect.

All the best.

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

Re: Having 'draw box' respond to control and shift

Post by greggorob64 » Wed Mar 15, 2017 3:20 pm

I've seriously been using those charts for over two years now and I didn't know about control\shift + left click. The left clicking to zoom in about the cursor at that point might be sufficient for now. Thanks.
Thanks :)

ArctionKestutis
Posts: 400
Joined: Mon Mar 14, 2016 9:22 am

Re: Having 'draw box' respond to control and shift

Post by ArctionKestutis » Wed Mar 15, 2017 3:25 pm

I think User's Manual chapter "6.21.6 Zooming with mouse button" is quite old ;)
Although it is not perfect manual, but sometimes something useful could be found there as well :D

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

Re: Having 'draw box' respond to control and shift

Post by greggorob64 » Thu Mar 16, 2017 12:15 pm

Real men don't read manuals...


they just bash thier head against the wall for hours and eventually just email you or pasi with outlandish unsubstantiated claims of bugs :)