LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you programmatically switch between a stack plot and an overlay plot with a waveform control?

One method i realize is to have two waveform controls, one visible and one not visible. The real issue here is, how to dynamically control the number of plots in a stacked plot. My case,
i will have between 2 and 8 channels. I have found that in the properties if i set the number of plots - Legend--Plots shown . I can control the number of stack plots, however, i must toggle from overlay to stack plots in design mode for the correct number of stack plots to be shown. Does anyone know a way around this problem or know of the property that has alluded me?
0 Kudos
Message 1 of 2
(2,989 Views)
Hi,


You cant select between Stack plot and Overlay programmatically. Well not in LaBVIEW 5.1.1.

You could have two Charts, one set up for Overlay and the other setup for Stacked. Then hide the one you are not immediately using.


Ray.
Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,989 Views)