We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

how to change the size of the legend?

Folks,

I am new to syncfusion. My plots seem to be dominatated by the legend - especially if I am plotting many series.

I would like to reduce the size of the legend. I tried:

Me.ChartControl1.Legend.Size = New System.Drawing.Size(50, 10)

No matter what numbers I use, it has no affect. It seems that this is completely ignored.

How do I change the dimension of the legend?

Thanks in advance,

--Michael


1 Reply

RF Rashidha F Syncfusion Team June 4, 2007 04:40 AM UTC

Hi Michael,

Thanks for using Syncfusion Products.

You can able to achieve your requirement using Legend.ItemSize property in chartControl.

The following code snippet which illustrates how to Reduce the size of the Legend Item in chartcontrol.

this.chartControl1.Legend.ItemsSize = new Size(15,15);

Please let me know if this helps.

Thanks and Regards,
Rashidha.

Loader.
Live Chat Icon For mobile
Up arrow icon