LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Programmatically swap the Y-Scales of a waveform chart and how to build the fly through legend?

Hi,

I'm trying to customize the waveform chart, Need following Features:

1. I want to add and also swap multiple scales (say 6) programatically. Also I want to swap the Y-Scales during runtime. 

2. Want to create a fly through legend. (To move the legend in runtime). 

3. Need to access the "Plot visibility checkbox" programatically. (To select/Unselect the particular plots)

 

Please let me if there are any solutions.

Thank you.

 

Regards,

Siva

0 Kudos
Message 1 of 5
(3,504 Views)

Hi ramssrk,

 

1. You need to create the scales at edit time and make them (un)visible as needed. (Charts only allow one X axis with several Y axis, while graphs allow multiple X and Y axis…)

2. Don't know anything like a "fly through legend". Can you explain this?

3. Each plot has properties. You can read and write these properties!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(3,492 Views)

Hi GredW,

Thanks for the quick response.

 

1. Yes I can add and swap the Scales during edit time, but is there any way to do these during run time?

2. I mean to say that during runtime i want to move the legend.

3. I checked the properties but i didn't find a solution to programatically select/unselect particular plots.

 

Would you please help.

 

Regards,

Siva

     

0 Kudos
Message 3 of 5
(3,484 Views)

Hi ramssrk,

 

1. No, not at runtime…

2. There's a position property of the legend…

3. There is ActivePlot and Plot.Visibility…

Best regards,
GerdW


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

Thank you so much GerdW

0 Kudos
Message 5 of 5
(3,465 Views)