This is a migrated thread and some comments may be shown as answers.

Dashed Line in the Line Chart

1 Answer 558 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Williams
Top achievements
Rank 1
Williams asked on 16 Mar 2015, 04:18 AM
Hi,
Greetings,

I just tried to draw dashed line instead of ordinary line in line series but I could not figure out.  Can any one help me.

Thanks in advace!!!

Regards,
Williams.

1 Answer, 1 is accepted

Sort by
0
Ralitsa
Telerik team
answered on 16 Mar 2015, 08:21 AM
Hi Williams,

Thank you for contacting us. 

You need to set the BorderDashStyle property of the series. Please refer to the following code snippet: 

this.radChartView1.Series[0].BorderDashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot;

In the attachments you can find a sample project as well. 

Should you have further questions, I would be glad to help.

Regards,
Ralitsa
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ChartView
Asked by
Williams
Top achievements
Rank 1
Answers by
Ralitsa
Telerik team
Share this question
or