BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Anthony,
Thanks for using Syncfusion products.
You can achieve your requirement (Dotted LineSeries) by overriding custom Line Chart template as shown in the given code snippet.
Code Snippet [Xaml]:
<DataTemplate x:Key="LineSegment">
<Canvas Background="Transparent" HorizontalAlignment="Left" VerticalAlignment="Top">
<Line Stroke="{Binding Interior}" StrokeThickness="{Binding StrokeThickness}" StrokeDashArray="1,1" X1="{Binding X1}" X2="{Binding X2}" Y1="{Binding Y1}" Y2="{Binding Y2}" Opacity="{Binding Opacity}"/>
/Canvas>
</DataTemplate>
<syncfusion:ChartSeries Type="Line” SegmentTemplate="{StaticResource LineSegment}" DataSource="{Binding power}" BindingPathX="Year" BindingPathsY="ind" />
We have prepared the sample based on your requirement. Please download it from the given below location.
Please let us know if you have any queries.
Regards,
M. Sheik
Hi Anthony,
Thanks for your update.
We have prepared the dotted lineChart programmatically(by using C#) based on your requirement.
Please find the sample from the given below location.
Please let us know if you have any queries.
Regards,
M. Sheik