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.
Syncfusion Feedback

Is there a way to change the Legend Icon

Thread ID:

Created:

Updated:

Platform:

Replies:

60425 May 4,2007 11:36 AM UTC May 7,2007 09:25 AM UTC Windows Forms 1
loading
Tags: Chart
Nhilesh Baua
Asked On May 4, 2007 11:36 AM UTC

Hello,
Is there a way to change the Legand Icon.
I do not want the way the icon lines are displayed i.e. in a zigzag format,
I want them to be streight and clear indicating the styles applied.
Further if I can increase the width of the icon displayed per legand.

Thanks

Ramya R [Syncfusion]
Replied On May 7, 2007 09:25 AM UTC

Hi Nhilesh,

Thank you for your interest in Syncfusion Products.

1.You can change the icon of the Legend to a straight line by changing the representation type of the legend as shown in the Code snippet below,

this.chartControl1.Legend.RepresentationType = ChartLegendRepresentationType.StraightLine;

2. The size of the icon can be changed using the code snippet below,

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

Could you please provide me with some more information regarding the point "indicating the styles applied"?

Let me know if you have any queries.

Thanks & Regards,
Ramya.

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

;