LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot Legend Resizing

Hello LabVIEW users,

I have an issue with LabVIEW XY graph plot legends. I disabled the autosize to plot names feature since I don't want my legend to grow horizontally at runtime(My UI size is fixed). My plot may have larger plot names many times. Since I cannot scroll my legend horizontally, I am not able to see my entire plot name. Is there a solution to this by which I can see my full plot name without actually expanding the plot legend?

0 Kudos
Message 1 of 4
(2,388 Views)

You can use plot->name property

xy.PNG

0 Kudos
Message 2 of 4
(2,379 Views)

Thanks for the reply. But I am not willing to use an additional string array to display the plot names as it spoils the UI. Even if we use string array, it cannot be scrolled horizontally to view larger plot names. Is there a way that I can scroll the actual plot legend horizontally?

0 Kudos
Message 3 of 4
(2,376 Views)

I'm afraid, in your case, you can not do without external indicators.
The only thing I can offer is to add a switch to show the legend. The user can hide it to see the entire graph.

0 Kudos
Message 4 of 4
(2,347 Views)