Page 1 of 1

Legend padding too big

Posted: Wed Jul 27, 2022 4:36 pm
by tingyunwang120
Hi,
I hope you are well.

I have a question about the intensity legend; as shown in the below picture, there is always large padding at the bottom; if I align the whole legend in the centre, the large padding would be at both the top and bottom. My question is, how do I minimise the padding? I am trying to make the legend window as thin as possible. Thanks in advance.
Image

Re: Legend padding too big

Posted: Thu Jul 28, 2022 1:13 pm
by ArctionKestutis
Hi,

What settings you are using for LegendBoxes and what version of LightningChart library you are using?

I don't see any padding with default settings in recent version of library.
LegendBoxes
LegendBoxes
LegendBoxWithIntensityScales.jpg (364.91 KiB) Viewed 7527 times

Re: Legend padding too big

Posted: Fri Jul 29, 2022 1:47 pm
by tingyunwang120
Hi,
Thank you very much for the reply.
It is my problem, sorry, it looks like the legend width and ScaleSizeDim2 were set weirdly.