Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 12:43:40 +0000



Post From: Modification of Spreadsheet Formula Study

[2023-12-06 04:14:01]
User61168 - Posts: 403
Hello User431178,

Wondering if you can help me with one more request. I have been looking for a way to do a max zoomin and max zoomout one-click feature. Maxzoomin should show only one entire bar on the chart (so zooming needs to work on both x and y axis to place the bar in the middle of the chart). max zoom out should show the entire chart proportionally to the x and y axis. I googled and found the attached cpp on github from Frozen Tundra. Would it be possible to alter the zooming logic to do a complete and full max zoom in and zoom out feature. It uses the spacebar as hotkey which is fine. Or if it is easier, a rapid multi-press of spacebar to zoomin/out is also fine. I am just tired of dragging mouse left/right on x-axis numerous times to zoom in and out. I would really appreciate your time.

Edit: Alternatively, you could have two inputs... one for zoomin level and another one for zoomout level. whichever option is easier and quicker to modify.
Edit: It should also not mess up my scale settings. I use "scale range: Constant Range" on all my charts. The ASCIL should simulate what the mouse does when you drag left/right on x-axis.
Date Time Of Last Edit: 2023-12-06 04:21:15
attachmentFrozenTundra-zoom_toggle.cpp - Attached On 2023-12-06 04:13:55 UTC - Size: 4.14 KB - 147 views