Page 1 of 1

Having 'draw box' respond to control and shift

Posted: Tue Mar 14, 2017 2:44 pm
by greggorob64
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!

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

Posted: Wed Mar 15, 2017 2:47 pm
by ArctionKestutis
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.

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

Posted: Wed Mar 15, 2017 3:20 pm
by greggorob64
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 :)

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

Posted: Wed Mar 15, 2017 3:25 pm
by ArctionKestutis
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

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

Posted: Thu Mar 16, 2017 12:15 pm
by greggorob64
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 :)