LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to program bar plot color with the property node

Solved!
Go to solution

I want to make the bar plot color can follow the group number. I use the property node to program the plot color. but it's very strange. from the attached example, we can see the color of the line plot can be programmed. while the color of the bar plot doesn't. I believe there must be something wrong. but I cannot figure it out. Anybody here can help me to debug this problem? thanks in advance!

0 Kudos
Message 1 of 4
(475 Views)
Solution
Accepted by topic author DavidWei

You need to change the fill color instead:

 

altenbach_0-1688482960178.png

Oh, and btw, your inner while loop is pure Rube Goldberg. See if you can simplify it!

0 Kudos
Message 2 of 4
(465 Views)
Solution
Accepted by topic author DavidWei

@altenbach wrote:

Oh, and btw, your inner while loop is pure Rube Goldberg. See if you can simplify it!


One possibility....

 

altenbach_1-1688483843207.png

 

 

(The error should be wired to avoid auto error handling, but there are other ways, of course.)

 

Message 3 of 4
(450 Views)

nice! thank you very much!

0 Kudos
Message 4 of 4
(413 Views)