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

Dotted line in chart

Thread ID:





115910 Feb 25,2014 06:15 AM UTC Feb 26,2014 09:06 AM UTC WinRT 1
Tags: Chart
Asked On February 25, 2014 06:15 AM UTC


I would like to create a dotted (or dashed) line in a chart.

Use the below code for line chart

<chart:LineSeries EnableAnimation="True" AnimationDuration="00:00:01" Palette="None" Interior="Brown" 
                    ItemsSource="{Binding Points}" XBindingPath="Name" YBindingPath="Value" >

Thank in advance,

Have a nice day.

Karthikeyan V [Syncfusion]
Replied On February 26, 2014 09:06 AM UTC

Hi Shameer,

Thank you for using Syncfusion products.

We have analysed your requirement and this can be achieved with the help of the CustomTemplate property.

Code Snippet [XAML]:



                            <Line X1="{Binding X1}" X2="{Binding X2}" Y1="{Binding Y1}" Y2="{Binding Y2}" Stroke="{Binding Interior}" StrokeThickness="{Binding StrokeThickness}" StrokeDashArray="2,3" />



Please let us know if you require further assistance on this.


Karthikeyan V.


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

This page will automatically be redirected to the 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