Legend Layout

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
BHayter
Posts: 1
Joined: Wed Dec 11, 2013 5:05 pm

Legend Layout

Post by BHayter » Wed Dec 11, 2013 5:09 pm

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.

ShawnCG
Posts: 57
Joined: Tue Oct 15, 2013 8:31 pm

Re: Legend Layout

Post by ShawnCG » Wed Dec 11, 2013 6:05 pm

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.

symbolick
Posts: 52
Joined: Thu May 16, 2013 8:24 pm

Re: Legend Layout

Post by symbolick » Mon Dec 30, 2013 9:09 pm

I would also be interested in finding a workaround for this

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Legend Layout

Post by ArctionPasi » Tue Dec 31, 2013 9:05 am

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.
LightningChart Support Team, PT

Niels Decker
Posts: 12
Joined: Mon Nov 22, 2021 8:12 am

Re: Legend Layout

Post by Niels Decker » Thu Aug 18, 2022 11:55 am

Since much time has passed in the meantime, I reopen this question: Is a LegendBox somehow configurable (especially scrollable)?
Niels

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: Legend Layout

Post by ArctionKestutis » Fri Aug 19, 2022 1:29 pm

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 3805 times

lekhoi
Posts: 1
Joined: Tue Mar 21, 2023 3:13 am

Re: Legend Layout

Post by lekhoi » Tue Mar 21, 2023 3:17 am

How can I create scrollable legendbox by javascript. I can't see any Document to mention about it.

Post Reply