LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I programatically set the properties of individual plots?

Solved!
Go to solution

Hi All,

 

I am developing an XY graph which can have between one and six data series.  How do I programttically set the properties of the series individually?  I can create a property node for such things as "Plot Name," but when I do that only the name of the last data series is changed.  How can I set the "Plot Name" value for different series?

 

Thanks!

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 1 of 4
(2,031 Views)
Solution
Accepted by topic author diarmaede

You have to set the Active Plot Property prior to setting the Plot Name property.  The Active Plot should be set to the index of the series that you want to edit.

0 Kudos
Message 2 of 4
(2,029 Views)

Here are a couple of ways to do it.

 

Example_VI_BD.png

Tim
GHSP
Message 3 of 4
(2,026 Views)

Thanks to both of you!  That worked perfectly.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 4 of 4
(2,016 Views)