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.

Legend changes, linetype of Legend to dashdot etc...

Thread ID:





52859 Dec 5,2006 07:48 AM Dec 5,2006 10:39 AM Windows Forms 1
Tags: XlsIO
Werner Plumot
Asked On December 5, 2006 07:48 AM

Can I change the linetypes of the legend to an dash-dot or any other pattern ?
LegendEntry does not support a prop or method.

Chella Pandian B [Syncfusion]
Replied On December 5, 2006 10:39 AM

Hi Werner Plumot

Yes you can change the linetypes of the legend to a dash-dot or any other pattern.

IChartSerie serieOne = shape.Series[0];
serieOne.DataPoints.DefaultDataPoint.DataFormat.LineProperties.LinePattern = ExcelChartLinePattern.Dash;

I have even attached a Sample Please check it for more details.



Thanks for using XlsIO.

With regards,


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.