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:

Created:

Updated:

Platform:

Replies:

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

Hie,

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 ?

Thanks.

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;

<\code>

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.

http://samples.syncfusion.com/ASPNET/7.3.0.20/web/XlsIO.Web/samples/3.5/Charts/EmbeddedChart/cs/embeddedchart.aspx

http://samples.syncfusion.com/ASPNET/7.3.0.20/web/XlsIO.Web/samples/3.5/Charts/ChartWorksheet/Cs/chartworksheet.aspx


Please let me know if you have any further questions.

Regards,
Vijesh

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.

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.

;