ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Line width on plot and on plot legend not matching

Hello,

I wrote a program that "highlights" (changes the linewidth to 4) one of two plots using a boolean switch.  However, the corresponding linewidth in the legend does not always show the same width as the plots value.  For example, if plot 0 is thick, and its legend is thick, and plot 1 and its legend are thin, then I select plot 1 to become the highlighted one, plot 1 in the graph will become thick, but either its legend will not become thick, or plot 0s will remain thick, while plot 0 on the actual graph will be switched to thin.

 

Thank you for any help you may be able to provide.

 

0 Kudos
Message 1 of 3
(2,958 Views)

Hi  M.Bobby,

 

 

I can see the same behavior on my machine as well. This was reported to R&D (238303 CAR ID) for further investigation. R&D is currently investigating this issue. A possible workaround is to hover over the legend to make it update.  We are sorry for the inconvenience, and appreciate your feedback!

 

 

Thanks and have a great day.

 

 

Esmail Hamdan | Applications Engineering | National Instruments

0 Kudos
Message 2 of 3
(2,943 Views)

If you wire a true constant to the LegAutoSize property after you have changed the widths it should update the Legend accordingly.  Hopefully autosizing isn't a problem, or at least less of a problem than the current behavior.

0 Kudos
Message 3 of 3
(2,938 Views)