LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable zoom out tool in graph palette

Quick question to see is it possible to disable only the zoom out function on the graph palette or limit how far the zoom out will go to?

----------------------------------------------------------------------------------
I have not lost my mind, it's backed up on a disk somewhere
0 Kudos
Message 1 of 5
(3,279 Views)

I can think of catching the zoom event (scale range change) and forcing it back to the original values.

 

Example_VI_BD.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 2 of 5
(3,275 Views)

Hi Jim 

 

Thanks for the reply. This works for stopping a zoom out function but it also stops the zoom in function also

----------------------------------------------------------------------------------
I have not lost my mind, it's backed up on a disk somewhere
0 Kudos
Message 3 of 5
(3,267 Views)

A workaround could be, if you create your own Graph palette control, it can be done quickly with events and property nodes, and with the benefit you are flexible with options. Beside, hide the built-in Graph palette of your Graph.

0 Kudos
Message 4 of 5
(3,263 Views)

@PauldePaor wrote:

Hi Jim 

 

Thanks for the reply. This works for stopping a zoom out function but it also stops the zoom in function also


Adding a little more complexity gives this:

 

Example_VI_BD.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 5 of 5
(3,244 Views)