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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display a dotted line

Thread ID:





121871 Feb 2,2016 05:17 PM UTC Feb 4,2016 04:17 AM UTC Xamarin.Forms 3
Tags: SfChart
David Conlisk
Asked On February 2, 2016 05:17 PM UTC

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?



Mohamed Samsudeen K S [Syncfusion]
Replied On 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

David Conlisk
Replied On February 3, 2016 01:59 PM UTC

Works perfectly, thanks!

Mohamed Samsudeen K S [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon