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.

Chart legend design possibilitys

Thread ID:





88474 Jul 25,2009 04:44 AM Jul 27,2009 05:23 AM WPF 1
Tags: XlsIO
Julian Bercovici
Asked On July 25, 2009 04:44 AM


i would like to know if it's possible to do the following things with chart legend:

1. set it's size.
2. edit it's entry.

and if so, how ?


Vijesh Narayanan [Syncfusion]
Replied On July 27, 2009 05:23 AM

Hi Lulian,

Thank you for using Essential XlsIO.

We support editing various properties of Legend Entries as shown in the following code snippet.

//Editing various properties of legend entries
chart.Legend.TextArea.Size = 8.25f;
chart.Legend.TextArea.FontName = "Arial";
chart.Legend.TextArea.Bold = true;
chart.Legend.TextArea.Color = ExcelKnownColors.Dark_red;


I am sorry to say, but we dont have any method that can be used to resize the legend.

For more information on working with charts using Essential XlsIO, you can refer following links.



Please let me know if you have any further questions.



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.