LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Showing legends of various tarces on the strip chart

I am using a strip chart to display couple of traces (CVI7.0). How can I
show the legends for these tarces. Traces are in different colors. I
would like to tell the user which color trace is what variable.
Something like LabView does.

vishi
0 Kudos
Message 1 of 2
(3,031 Views)
Vishi,

One of the new features in CVI 7 in plot legends in graphs. You may want to use a graph and make it behave like a chart. Basically when you get a new data point you add it to your chart buffer and redraw the data by deleting the old plot and replotting it.

The other option is to use a waveform graph that you make transparent except the legend and you plot some dummy data to it to generate the labels and use them for the chart.

Your third option here is you use a small graph that just plots a line of the color you want it and you can use this grapg label to indicate the plot name.

Take a look at this UIR file for some ideas.

Hope that helps.

Regards,
Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(3,031 Views)