LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change default xy coord readout color in cursor legend

I need to change the default xy coord readout color within an XY graph's cursor legend. 

Currently, when I create a cursor, the color of the xy readout always defaults to black 

and I'd like to change that to red. I realize I can change it via the toolbar, but would prefer to

set a default color or change it programmatically.

Thank you.

 

Wilhelm Elmore

 

Technician IV

Department of Biomedical Sciences

Cornell University

0 Kudos
Message 1 of 2
(2,045 Views)

Hello,

 

 

You can do this programmatically by right clicking on the XY Graph indicator on the block diagram and create a property node.  You should be able to select Plot->color.  Once you place the property node on the block diagram, right click and chage all to write.  You can then wire a 'color box constant' to the input of the property node.  I've attached an example of where I created a reference to the XY Graph and connected it to an implicit property node.  To view the other properties of the XY graph  you could click on the property node and select the desired property.

Regards,
Isaac S.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,009 Views)