I have series that are completely solid and some that may be dashed in various different DashArray styles. But my legend doesn't reflect the dashed line of my series.
Hello Ed,
Thank you for your feedback. I am glad that my suggestion was helpful for you and I believe that other community members may benefit from this as well.
If you require any further assistance, please do not hesitate to ask.
That worked great!! Thanks so much for your help!
Ed
Thank you for your post.
I have been looking into it and the functionality that you are looking for. What I can suggest is to create a DataTemplate for the Legend. You can bind the LegendItemTemplate property of the each Series to your DataTemplate. In it you can add a Path and bind its StrokeThickness, StrokeDashArray and Stroke properties to the same properties of the Series. By doing this the line in the legend will be same as the one of the Series. I created short sample application based on your scenario to show you how you can achieve the appearance that you are looking for.
If you are not able to reproduce the issue with the attached sample application, would you please modify it with the functionality, that you are using, so it reproduces the issue. This way I would be able to further investigate this for you and provide you with more detailed information on this matter. Please let me know if I am missing something about your scenario.
Please let me know if you need any further assistance on the matter.