03-14-2014 08:42 AM
Problem is that plot legend shows only the plots being displayed correctly, while plot legend scrollbar is not being displayed, which is being controlled using LegPlotMin and LegNumRows properties. But when plot legend scrollbar is enabled (when number of plots exceed a certain number) then one disabled item (already being displayed in the enabled item above it) becomes visible. How to not show it while plot legend scrollbar is visible?
Second question. If plot legend scrollbar is visible and the user has scrolled it to the bottom and left it there and then selects options where the number of plots are less than a certain threshold and the scrollbar is set to invisible, using property node; then the only lower disabled plot names are shown. So how do I set the scroll position for plot legend scrollbar. I could not find any scroll position property for plot legend scrollbar.
Thanks
03-14-2014 09:31 AM
03-18-2014 11:19 AM
Hi Rashid,
I tried this out, and I see what you mean. This functionality is kind of buggy. I am currently filing a corrective action report on what I see.
If you can post exactly what you are trying to do, we should be able to find a workaround.
-Jim B.
Applications Engineer, National Instruments
03-18-2014 11:53 AM
It is true that you cannot set the index of the topmost displayed plot in a plot legend. It's a missing property! To accommodate long legends, I have used two graphs, one hidden behind the other. Both receive all the data, and their two legends are aligned side by side. In fact, I wrote a routine to align legends of stacked plots, which I've attached here for you. Maybe you'll find it useful!