LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change background color of Picture Plots using property nodes

Solved!
Go to solution

Hello,

 

I am attempting to change the background color of my picture plot programmatically using property nodes on my block diagram. Is there a property I can use to achieve this? It seems to me the only way to change the background color is to use the tools palette. 

0 Kudos
Message 1 of 4
(282 Views)

What is a "picture plot"?

Do you mean a 2D picture control?  Or a graph?

Can you give us a screen shot?

 

George Zou
0 Kudos
Message 2 of 4
(274 Views)

By "picture plot" I am referencing the indicator generated by the "Plot Multi-XY.vi" that I am using. Or the indicator that is similarly generated by the other vi's included in the "Picture Plot" sub-palette included in the "Graphics & Sound" sub-palette as shown in the functions palette. Not a graph. LabVIEW just references it as a "picture" type or object. 

 

sanLeandroF_0-1768953751162.pngsanLeandroF_1-1768953823250.pngsanLeandroF_2-1768953948609.png

 

 

 

0 Kudos
Message 3 of 4
(263 Views)
Solution
Accepted by topic author sanLeandroF

"Plot Multi-XY.vi" returns a 2D picture control.  This is a very old control.  There is no property node for background color.  You have to draw a background color before you draw the plots on it.

 

You can also paint the background color to transparent manually at edit time, and put a color box behind the picture control.  So you can change the color box at runtime instead of change the background color of picture control.

 

George Zou
Message 4 of 4
(246 Views)