I want to display some lines in chart as dotted or dashed. I am using below code to display line as dotted as dashed.
In my code i am not generating Legend items manually.
Now in follwing example My series color and legend color are mismatching.
i tried by commenting below code
pathStyle.Setters.Add(new Setter(Shape.StrokeProperty, new SolidColorBrush(Colors.Red)));
in above code base. but in that case i am not able to see any line in my chart area.
Can you please let me know hot display dashed ot dotted line without touching Color property.
And i do not want to add Legend manually.