LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have grouped grouped 7 data lines onto 3 graphs on a stacked chart but need to remove the unused graphs

I think parameters may be the way to solve this but I'm not too familiar with how they work on charts. I need to be able to remove the unused graphs on this chart. The attached example explains.
Thanks, Chris
0 Kudos
Message 1 of 4
(2,603 Views)
Hi,
What you have to do is make a cluster of three SGL and wire it to the chart. Then, you need to unwire some of the properties you've used.

This is the only way to do it. You cannot do it when your VI is running, I think.

Hope this helps !
Julien
0 Kudos
Message 2 of 4
(2,603 Views)
Hi Jumarion,
Thanks for your code, I need to keep all 7 plots and remove the unused graphs. Labview properties allow the programmer to change which stacked graph displays a plot, which can make some graphs redundant, therefore I would have thought theres an option to remove unused graphs to complement those properties.
Regards, Chris
0 Kudos
Message 3 of 4
(2,603 Views)
The problem is that your VI needs to be recompiled when changing the number of plots on this kind of graph. According to this, there can't be any property to remove unused graphs during execution.

Regards,
Julien
0 Kudos
Message 4 of 4
(2,603 Views)