LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set size of plot-legend with properties?

Solved!
Go to solution

Hello,

in the screeenshot i create ten plots which are shown in an xy-graph.

Depending on the number of plots the legend is updated.

How can is set that the legend is only 5 plots high and the other 5 (or more) plots can only be seen if using the scrollbar?

Thanks

 

plotsize.jpg

Message 1 of 9
(5,233 Views)
Solution
Accepted by topic author OnlyOne

Solved.

Property-name is under: Legend + Size + Hight

 

0 Kudos
Message 2 of 9
(5,225 Views)

leg5.PNG

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 3 of 9
(5,223 Views)

The problem now with "Scrollbar visible = true" is that i can scroll down to plot-number 99. Also if i only have 10 plots in the graph 😞

Not so good. But better then 5m legend-bar 🙂

0 Kudos
Message 4 of 9
(5,216 Views)

Why can you scroll as far as 99 if you only have 10 plots??? The legend only shows entries for each plot that exists. Did you actually create 99 plots!?

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 5 of 9
(5,207 Views)

Attached my test-vi.

You can set with the loop-counter the number of plots to be created.

If bigger than 10 plots then Limit visible plots to 10 and sho scrollbar

If smaller 10 then only show the used plots and dont show scrollbar.

 

If the scrollbar is visible it shows currently 300 plots. It seems as the legend remembers previous values?

 

Any idea whats wrong here?

0 Kudos
Message 6 of 9
(5,200 Views)

Charts/graphs do remember the number of plots, therefore you must have created at least 332 plots previously.

To remove plots you need to delete the graph and place down a new one. This is a known issue: http://forums.ni.com/t5/LabVIEW/delete-plots-from-waveform-graph/td-p/1136612/page/3

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 7 of 9
(5,197 Views)

If you also set the legend > Plot Minimum value to the plot array size then the issue is resolved. http://forums.ni.com/t5/LabVIEW/delete-plots-from-waveform-graph/td-p/1136612/page/3

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 8 of 9
(5,196 Views)

Perfect. Thx a lot.

0 Kudos
Message 9 of 9
(5,192 Views)