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.
Unfortunately, activation email could not send to your email. Please try again.

how to change the size of the legend?

Thread ID:





61797 Jun 1,2007 01:57 PM Jun 4,2007 12:40 AM Windows Forms 1
Tags: Chart
Michael Athanas, Ph.D.
Asked On June 1, 2007 01:57 PM


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,


Rashidha F [Syncfusion]
Replied On June 4, 2007 12:40 AM

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,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.