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

How to modify the dash style of a Line Series?


I want to plot a dashed/dotted line series on the Chart Control. I am unable to find the option to do so. Kindly help.

Thanks and regards,

1 Reply

DD Dharanidharan Dharmasivam Syncfusion Team April 4, 2017 12:36 PM UTC

Hi Swetaketu, 

Thanks for using Syncfusion support. 

We have analyzed your query. Your requirement can be achieved by specifying value to the dashStyle in border property of series. Find the code snippet below. 

Windows Forms [C#] 

ChartSeries series = new ChartSeries(); 
series.Style.Border.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDot; 

In the above code we have specified DashDot style, you can change with respect to your scenario. 


Sample for reference can be find from below link. 

Live Chat Icon For mobile
Up arrow icon