LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform chart legend flips orientation when programmatically changing # of entries (bug?)

If you have a Waveform chart with a horizontal legend with, say, 3 entries like this:

 

BertMcMahan_0-1654886964083.png

 

 

And then you decrease the number of legend entries programmatically to 1, then increment back up to 3, you get this:

 

BertMcMahan_1-1654886997652.png

 

This isn't great behavior for graphs with dynamically adjustable plots that the user modifies. I can't find a property node that changes the orientation from horizontal to vertical, so once it sticks vertical I can't go back.

 

Are there any workarounds for this, other than decoupling the legend from the graph itself?

 

I'd REALLY prefer to keep my legends horizontal. They take up way less space that way.

 

See attached VI for demo.

0 Kudos
Message 1 of 1
(736 Views)