LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable or remove plot legend run time menus

Hi,

Is there an option to remove or disable some of hte RTM of plot legend.

 

 

 

Disable RTM Plot Legend.png

 

I want to remove/disbale X Scale, Y Scale and Export options from the RTM of plot legend. Is this possible?

 

Thanks,

Ritesh

0 Kudos
Message 1 of 3
(3,231 Views)

Disabling object menu items is not supported in LabVIEW and I can't think of any way to do that. You may try playing around with property nodes to see if you can find another way of limiting the user's access to the menu as a whole but selectively removing or disabling menu items is beyond the scope of LabVIEW programming.

 

 

 

Rob B
FlexRIO Product Manager
0 Kudos
Message 2 of 3
(3,187 Views)

You can disable the user from interacting with the graph all together by disabling the control (Advanced >> Enabled State) of course then the user can't do things like move the graph around or zoom in on parts of the graph.  You could then do things like enable the graph if the user didn't click on the plot using the event structure and the Mouse Down? event.  Still that would disable the entire plot menu and not just the ones you are interested in.

 

EDIT: There is an Advanced >> Disable Plot Legend which is a simple way to disable all menu items on the plot, but still not the solution you want.

0 Kudos
Message 3 of 3
(3,155 Views)