LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
simplemaan

legend:number of columns property

Status: New

I've been unable to find how to access the Waveform Chart property which would be called Legend:Number of Columns or LegNumColumns.  I have a customer that prefers the plot legend as a row at the top of the chart as shown in the attached example image.  This can be arranged in the editor or with VI scripting.  If the number of plots on the chart change during run-time, however, it doesn't seem possible to adjust number of columns in the legend. Setting the Legend:Number of Rows or LegNumRows property makes the legend adjust from being a single row to the usual single column. This makes adjustments to the number of plots displayed on the legend (as a row) difficult, if at all.

 

Capture chart.JPG

Capture chart properties.JPG

4 Comments
X.
Trusted Enthusiast
Trusted Enthusiast

Sounds like a bug to me. Never noticed it as I do not use this legend layout but indeed, the configuration you are showing returns a "LegNumRows" property of 1, so I see this as being an inconsistency (fancy word for bug).

Yves
Active Participant

Both option would be nice. To get a 3x2 legend i.e.

alex_sunny
Member

There can be walkaround through manipulating the position of the legend. You can move part of the legend beyond the screen. There are nuances, however. For example, plot names should have equal lengths (or be wrapped to have it).

 

P.S. Don't know how to attach my example vi to the message.
legend demo.png

alex_sunny
Member