06-28-2010 12:18 PM
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.
06-29-2010 05:43 PM
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
06-29-2010 05:52 PM
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.