SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.


Hi I just upgraded to 2.1.
I was wondering about the dash lined styling of a line from code behind. Anyway I add the code to change the StrokeDashArray it doesn’t seem to change my line at all. I may just not be using it right. An example line of code would be nice.

  • You must to post comments

For anyone else having this problem, for me it was just a matter of not understanding how to make the dashes different lengths.

line.StrokeDashArray = new[] { 3.0, 3.0 };

  • Andrew
    Hello there, Glad you got it solved :) Yes its the same API as the StrokeDashArray property in System.Windows.Controls.Shape, used to create dashed lines in WPF. Best regards, Andrew
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.