LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically display graph legend

I have a waveform graph to which I input a set of files using another subvi and the plot is shown in the mainvi where the waveform graph is placed.How to programmatically display the graph legend so that it shows all the plots that have been plotted. Manually this is done by resizing the legend.Is there a way to do that programmatically?Help please.
0 Kudos
Message 1 of 5
(3,088 Views)
Hi Veena,

you should use the chart property Legend-Plots shown to control the number of elements in the plot legend.
Here's a small example.

Good luck,

Alberto
Message 2 of 5
(3,088 Views)
Uzytkownik "Veena" napisal w wiadomosci
news:5065000000080000006F750000-1042324653000@exchange.ni.com...
> I have a waveform graph to which I input a set of files using another
> subvi and the plot is shown in the mainvi where the waveform graph is
> placed.How to programmatically display the graph legend so that it
> shows all the plots that have been plotted. Manually this is done by
> resizing the legend.Is there a way to do that programmatically?Help
> please.

You could try use Property Node [right mouse button &: 'Create > Property
Node']. Waveform Graph has section for legend: right used LegPos and
LegPlots sould get you sattisfaction.

regards
Zbigniew StS
Message 3 of 5
(3,088 Views)
Hi Alberto
I am using version 6 hence unable to view ur e.g. can u post it in version 6?Thanks ..Veena
0 Kudos
Message 4 of 5
(3,088 Views)
I got the solution...Thanxs Veena
0 Kudos
Message 5 of 5
(3,088 Views)