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

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

1 Reply

CP Chella Pandian B Syncfusion Team December 5, 2006 03:39 PM UTC

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.

Sample:

ChartSerie.zip

Thanks for using XlsIO.

With regards,
Chella.

Loader.
Up arrow icon