LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Working with zoom on graphs

Hi guys,
 
  I have a program that receives data from an outside instrument and I am plotting the data on a waveform graph.  I would like the user to be able to zoom in and out at will while the program is running.  I have tried using the graph pallete but the problem is that when the program updates the graph, all zoom knowledge is lost.  I have tried turing off autoscaling and that seems to work except the data values can change quite significantly, so I need to have auto scaling on.  Any ideas?  I've been stuck for the better part of this afternoon,
 
PP
0 Kudos
Message 1 of 2
(2,851 Views)
You can programmatically control the autoscaling using the Scale Fit property and you can further control the scaling by using the Scale>>Range>>Minimum (or Maximum) property. To create a property node, right click on the control or the terminal and select Create>>Property Node and then find your property.

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,847 Views)