LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic legend name in XY-graph in labview 7.0

Solved!
Go to solution

Dear All,

        In my application i am displaying multiple plot in XY-Graph. The total number of graph displayed may very. I want according to total number of plot selected legend display. And name of that plot is not fix it very depending on selection.

         I tried to use property node "plot name" but in that case only first plot name is changing.

 

--Vishnu

0 Kudos
Message 1 of 5
(5,209 Views)

Hi Vishnu,

before you change a plot property, you have to set the "active plot". default is "0".

 

Mike

Message 2 of 5
(5,205 Views)

Dear Mike,

        Thanks for help.

        I also want varible plot legend. For example if i am plotting 2 Plots that time only 2 legend should display and if i am plotting 4 plot, 4 legend should display. Can you please guide how i can do this?

 

 

---Vishnu

0 Kudos
Message 3 of 5
(5,191 Views)
Solution
Accepted by topic author Vkumar
Hi Vishnu, use the property "Legend"->"Plots shown"!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(5,176 Views)

Hi Gerd,

    Thanks, Good answer. My problem solved.

 

--Vishnu

0 Kudos
Message 5 of 5
(5,160 Views)