03-30-2006 04:35 AM
03-30-2006 05:01 AM
03-30-2006 05:15 AM
03-30-2006 03:44 PM
amose wrote:
I am trying to update the plot names according to the files I open (the plot gets the files name). my problem is I can only have 12 characters in the plot name and could not enlarge the plot name area. any suggestions? ... I have LV 6.1
Amos,
Unfortunately, LV6.1 doesn’t have the AutosizeLegend property.
If you're interested in doing it manually:
Use the positioning tool to resize the legend from either left corner. That increases the width for the plotname.
Programatically:
Unfortunately (again), you can't use the graph's Legend:Width property because it expands/contracts on the right side … which is the wrong side for the plotname.
If you have more than the base LabVIEW package, you could do something like the attached which uses an array for the plotnames and makes use of Get Text Rect.vi (which is not in the base package).