From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graph two y axis hide one show another

Solved!
Go to solution

I am using two y axis to show one is for voltage and other for current. I give a future to select voltage,currrent,or both. when user select voltage then second y axis should be disable. but for this one property node or terminal is needed there is no option of create when we click on y axis. please help how to do this?aaa.jpg

0 Kudos
Message 1 of 8
(3,958 Views)

Hi kiwagh,

 

you can hide Y axis programmatically using a property of the axis…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(3,947 Views)

hi GerdW,

 

Would you plz give the example of it.

0 Kudos
Message 3 of 8
(3,941 Views)

Hi kiwagh,

 

create a property node for your graph, then select/use the properties ActiveYAxis and YAxis.Visible…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 8
(3,918 Views)

plz give the scrren short I am not able to find that property or is it same as Active Y Scale? if yes then I am passing 0 to it as its input datatype is numeric

 

0 Kudos
Message 5 of 8
(3,875 Views)
Solution
Accepted by topic author kiwagh105@gmail.com
Hi kiwagh,

Yes, that's one of the mentioned properties.
When you wire a zero you ALWAYS select the first Y axis...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 8
(3,838 Views)

ok, but i want to hide it. please tell me how to hide it?

0 Kudos
Message 7 of 8
(3,823 Views)
Solution
Accepted by topic author kiwagh105@gmail.com

got the solution right click on graph->select create->property node->Active y scale->maker->visible

0 Kudos
Message 8 of 8
(3,803 Views)