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 display a dotted line

Hi all,

I'm attempting to display my LineSeries data using a dotted line in XAML. I can't seem to work out how to do it, the LineSeries tag only allows you to specify the StrokeWidth, but not the StrokeDashArray.

How can I achieve this?



3 Replies

MS Mohamed Samsudeen K S Syncfusion Team February 3, 2016 09:42 AM UTC

Hi David,

Thanks for contacting Syncfusion support. 

It is possible to achieve Dashes using StrokeDashArray property of FastLineSeries. Please find the code snippet below.

  <x:Array Type="{x:Type sys:Double}">

We have created a sample for this and have attached it for your reference.



Samsudeen K S

DC David Conlisk February 3, 2016 01:59 PM UTC

Works perfectly, thanks!

MS Mohamed Samsudeen K S Syncfusion Team February 4, 2016 04:17 AM UTC

Hi David,

Thanks for the update.

Please let us know if you need any further assistance.

Samsudeen K S

Live Chat Icon For mobile
Up arrow icon