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.

Pb with Legend

Thread ID:





61420 May 25,2007 07:06 AM May 28,2007 10:28 AM ASP.NET Web Forms (Classic) 1
Tags: Chart
Thibaut Pappini
Asked On May 25, 2007 07:06 AM


I'm evaluating Essential Chart and I'm having troubles. My chart is a pie with a legend at bottom.

- Legend.ItemsSize and Legend.representationType don'tnot work
- I don't know how to change font size for the legend items.


Rashidha F [Syncfusion]
Replied On May 28, 2007 10:28 AM


My apologies for the delay in responding to you.

You can able to achieve your requirement using RepresentationType and ItemsSize property in chart web control.

The following code snippet exhibit how to set the size of the legend and how to change the default legend representation type in chart web control.

this.ChartWebControl1.Legend.ItemsSize = new Size(30, 30);

this.ChartWebControl1.Legend.RepresentationType = ChartLegendRepresentationType.Hexagon;

Please take alook at the attached sample.


Let me know if this helps.



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.