LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY graph Plot.LineWidth property node problem

Solved!
Go to solution

Hi!

 

I have a loop, where I iteratively putting curves in a XY graph. At the first iteration of the loop, after first curve appears on the graph (I send the data to the Graph indicator), I use a Plot.LineWidth property node to make the line thicker. However, at the next iteration, when the second plot curve appears on the graph, and the property node is fired again, the second curve remains thin. I guess what I do wrong, is that this property node sets only the first curve? How can I set the line width of all curves of the XY graph to the same value? When I go directly to the XY Graph properties, I can set the curve widths, but only one by one...

 

Any suggestions how to set globally the plot widths on a specific XY Graph?

 

Thanks!

0 Kudos
Message 1 of 3
(4,650 Views)
Solution
Accepted by topic author Blokk

if this is a multiplot XY, you have to set each plots properties by using the activeplot (index of the new plot) property then setting the thickness.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 2 of 3
(4,646 Views)

thanks, it works with the activePlot property node.

0 Kudos
Message 3 of 3
(4,643 Views)