LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make Graph/Waveform plot name not editable by user

Solved!
Go to solution

@pincpanter wrote:

It's possible to get the boolean reference but disabling it does nothing. The LabVIEW runtime seems to hook the mouse clicks in the boolean control area.


Agreed. Show\hide does work, disabling it doesn't.

 

But a Mouse Down? event on the graph itself, discarding clicks, does work.

 

All that is needed is a calculation on the graph's legend, to check if the plot property was clicked.

 

It might be hard to do this for any graph, but for a specific graph, simply getting the position, size and nr of plots of the legend will work.

Message 11 of 16
(929 Views)

Hello wiebe, hello Paolo,

 

Thank you for your suggestions.
Unfortunately I can't realize a mouse down? event (Dynamic event).
Could you please help me or edit the VI? I can determine the position of the graph legend by myself.
That would be very nice

 

Thanks,

Muaadh

0 Kudos
Message 12 of 16
(899 Views)

Hello Wiebe,

 

Thank you 🙂

0 Kudos
Message 14 of 16
(868 Views)

@Muaadh7  ha scritto:

Hello Wiebe,

 

Thank you 🙂


You can thank him giving a kudo.

This is what kudos are for.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 15 of 16
(858 Views)

You both deserve it. I did it 🙂

Message 16 of 16
(851 Views)