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. Image for the cookie policy date
close icon

I want a 2dim graph with several lines with different texture

so I insert eg. 5 series and all the grapgh lines must have a different texture (dash, dotted, etcc).

exceldashed.zip

2 Replies

AD Administrator Syncfusion Team December 1, 2006 05:08 PM UTC

Hi Werner,

Using Essential Chart, it is easy to create multiple lines with different styles. This can be done using the following code.

Please have a look at the following code and sample attached with screen shot.

this.chartControl1.Series[0].Style.Border.DashStyle = DashStyle.Dash;
this.chartControl1.Series[1].Style.Border.DashStyle = DashStyle.DashDot;
this.chartControl1.Series[2].Style.Border.DashStyle = DashStyle.DashDotDot;
this.chartControl1.Series[3].Style.Border.DashStyle = DashStyle.Dot;

Line Chart Styles sample

Screen shot

Thanks for your interest in Syncfusion products.

Regards,
Sureshbabu


WP Werner Plumot December 4, 2006 08:17 AM UTC

THanks thanks thanks!

>Hi Werner,

Using Essential Chart, it is easy to create multiple lines with different styles. This can be done using the following code.

Please have a look at the following code and sample attached with screen shot.

this.chartControl1.Series[0].Style.Border.DashStyle = DashStyle.Dash;
this.chartControl1.Series[1].Style.Border.DashStyle = DashStyle.DashDot;
this.chartControl1.Series[2].Style.Border.DashStyle = DashStyle.DashDotDot;
this.chartControl1.Series[3].Style.Border.DashStyle = DashStyle.Dot;

Line Chart Styles sample

Screen shot

Thanks for your interest in Syncfusion products.

Regards,
Sureshbabu

Loader.
Live Chat Icon For mobile
Up arrow icon