LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i change the visible length of the plotnames in a graph legend

Highlighted
i would like to change the length of the visible plotname in the graph legend (only 10 characters standard).
even with the customizing tool cannot make it the right size for my application.
0 Kudos
Message 1 of 5
(1,085 Views)
Highlighted
Hi,

resize it from the left corner (upper or lower) of the graph legend. It will work!

Alberto
0 Kudos
Message 2 of 5
(1,085 Views)
Highlighted
How do I do this programmatically?
0 Kudos
Message 3 of 5
(1,085 Views)
Highlighted
Use the SetCtrlAttribute for the graph and use ATTR_LEGEND_WIDTH.
0 Kudos
Message 4 of 5
(779 Views)
Highlighted
In LabVIEW, drop a property node from the Application Control palette.  Right click on it and choose Link To and navigate to the graph you want to change.  Now click on the property text.  This will activate a huge menu.  Down at the bottom, choose Legend->Size->Width.  Right-click the new property text and choose Change To Write.  Set this value to a width in pixels.  Note that the optimum value will change depending on your display font (whose default changes between XP and Vista).
This account is no longer active. Contact ShadesOfGray for current posts and information.
0 Kudos
Message 5 of 5
(764 Views)