LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the color of plot in a waveform chart and graph?

There are 4 plots in a waveform chart, from plot0 to plot3, and I want to chang the color of plots dynamicly up to my needs when the VI is running.
For example, as show in the picture, i want to set the plot0 as RED, and plot1 is BLUE, plot2 is YELLOW, plot3 is GRAY.
If there is only one plot, i can change it's color, however when there are more than one plot, it fail.
How can I do it?
Thanks
0 Kudos
Message 1 of 3
(2,813 Views)
Hello MilkyStone,

first you have to set the active plot, then change its color (or other properties). All that is done using property nodes.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,811 Views)
Dear GerdW
Thanks for your reply.
It's really unbelievable! I had do it in this way you mention here this afternoon, but fail. And now I try it again, that's OK.
Thanks a lot!
0 Kudos
Message 3 of 3
(2,804 Views)