Page 1 of 1

Legend Layout

Posted: Wed Dec 11, 2013 5:09 pm
by BHayter
Is there any way to have more control over the layout of the legend? For example control over maximum height, or the ability to make the legend scrollable.
I am finding as i add more lines to my plot the legend is becoming somewhat unruly, often becoming larger than the plot it is referring to.

Re: Legend Layout

Posted: Wed Dec 11, 2013 6:05 pm
by ShawnCG
I'll second this question. How can we customize the legend size? For example, when resizing a plot window, the plot area will shrink but the legend size stays fixed and can obstruct the plot area.

Re: Legend Layout

Posted: Mon Dec 30, 2013 9:09 pm
by symbolick
I would also be interested in finding a workaround for this

Re: Legend Layout

Posted: Tue Dec 31, 2013 9:05 am
by ArctionPasi
Hide extra series from legend box by setting series.Title.ShowInLegendBox = false.

There's no adjustable size or scroll bars coming legends in near future, unfortunately.

Re: Legend Layout

Posted: Thu Aug 18, 2022 11:55 am
by Niels Decker
Since much time has passed in the meantime, I reopen this question: Is a LegendBox somehow configurable (especially scrollable)?
Niels

Re: Legend Layout

Posted: Fri Aug 19, 2022 1:29 pm
by ArctionKestutis
It have been a lot of changes in library in the past 10 years. You should not rely on old forum topic for accurate information. Please check User Manual or API documentation for more up-to-date information.
Currently you can do a lot of thing with LegendBox layout: including size, scrollbar etc.. Please check User Manual chapter 6.26 Legend box.
LegendBoxXY property tree
LegendBoxXY property tree
LegendBox (XY).jpg (219.38 KiB) Viewed 3933 times

Re: Legend Layout

Posted: Tue Mar 21, 2023 3:17 am
by lekhoi
How can I create scrollable legendbox by javascript. I can't see any Document to mention about it.