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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to change the size of the legend?

Thread ID:

Created:

Updated:

Platform:

Replies:

61797 Jun 1,2007 05:57 PM UTC Jun 4,2007 04:40 AM UTC WinForms 1
loading
Tags: Chart
Michael Athanas, Ph.D.
Asked On June 1, 2007 05:57 PM UTC

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


Rashidha F [Syncfusion]
Replied On 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.

CONFIRMATION

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.

Warning Icon 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.Close Icon

;