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.
Legend Layout
Moderator: Queue Moderators
Re: Legend Layout
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
I would also be interested in finding a workaround for this
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Legend Layout
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.
There's no adjustable size or scroll bars coming legends in near future, unfortunately.
LightningChart Support Team, PT
-
- Posts: 12
- Joined: Mon Nov 22, 2021 8:12 am
Re: Legend Layout
Since much time has passed in the meantime, I reopen this question: Is a LegendBox somehow configurable (especially scrollable)?
Niels
Niels
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: Legend Layout
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.
Currently you can do a lot of thing with LegendBox layout: including size, scrollbar etc.. Please check User Manual chapter 6.26 Legend box.
Re: Legend Layout
How can I create scrollable legendbox by javascript. I can't see any Document to mention about it.