ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

changing xy graph scale using combo box selection

Solved!
Go to solution

Hello,

 

I have a xy graph with x scale set to 10k and y scale set to 6 by default.

 

I have a combo box which i use to select what the graph will display. For example in combo box i have 3 choices, A, B, C.

 

If i select A, xy scale is set to 10k and 6. If i select B, xy scale is set to 2.5k and 8, if i select C, xy scale is set to 4k and 10 respectively. Is there some functions that i can use to do this?

 

Thanks.

0 Kudos
Message 1 of 6
(4,237 Views)
Solution
Accepted by BPBP

Like this (attached)?

 

Of course, if the data actually follows these mins and maxes, you could just turn on auto scaling and it would do it automatically

--
Tim Elsey
Certified LabVIEW Architect
Message 2 of 6
(4,226 Views)

Thanks. 

0 Kudos
Message 3 of 6
(4,212 Views)

Can you mark tim's message as the solution instead of yours?

 

You can easily unmark it by clicking the options and

 

19481i964A24A1B6DD4E7D

 

 

Message 4 of 6
(4,145 Views)

done! 

didnt realised i marked the wrong post as the solution.

0 Kudos
Message 5 of 6
(4,123 Views)

Thanks.Smiley Happy

0 Kudos
Message 6 of 6
(4,119 Views)