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
(4,518 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
(4,507 Views)

hi GerdW,

 

Would you plz give the example of it.

0 Kudos
Message 3 of 8
(4,501 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
(4,478 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
(4,435 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
(4,398 Views)

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

0 Kudos
Message 7 of 8
(4,383 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
(4,363 Views)