Legend padding too big

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
tingyunwang120
Posts: 9
Joined: Mon Jun 20, 2022 3:23 pm

Legend padding too big

Post by tingyunwang120 » Wed Jul 27, 2022 4:36 pm

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
Attachments
Capture.PNG
Capture.PNG (26.24 KiB) Viewed 7440 times

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

Re: Legend padding too big

Post by ArctionKestutis » Thu Jul 28, 2022 1:13 pm

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

tingyunwang120
Posts: 9
Joined: Mon Jun 20, 2022 3:23 pm

Re: Legend padding too big

Post by tingyunwang120 » Fri Jul 29, 2022 1:47 pm

Hi,
Thank you very much for the reply.
It is my problem, sorry, it looks like the legend width and ScaleSizeDim2 were set weirdly.

Post Reply