LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to read out the zoom factor of a graph

Hi everybody,

 

I was wondering if there is a function which makes it possible to see what the zoom factor is in a graph?

For example a number that gets higher when I zoom in.

 

Regards,

 

Kenny

0 Kudos
Message 1 of 5
(2,309 Views)

There is a "Scale Range Change" event that you can use to get the new scale. There is no "zoom" property per se, like there is with a picture control.

 

For others: related to this: http://forums.ni.com/t5/LabVIEW/Load-large-txt-file-into-graphic/m-p/1893489

0 Kudos
Message 2 of 5
(2,306 Views)

Hi Kenny,

 

as alternative you can read the scale you start with (x maximum, x minimum), x min and x max are changing when you zoom in. Please notice the attached example.

 

Best regards,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 3 of 5
(2,290 Views)

Hi Martijn,

 

Can you please upload a Labview 10 version of the vi, I'm still using Labview 10.

 

Regards,

 

Kenny

0 Kudos
Message 4 of 5
(2,286 Views)

Hi Kenny,

 

here you are,

 

best regards,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 5 of 5
(2,284 Views)