Pre loader

More than one stroke thickness on a single series

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


I saw in the examples where a “gain” and “loss” affected the color of a series. This took a bit of time; however, I figured out was you were doing and was able to implement it.

Please see the attached image. There are 2 sections in my series that are “Green” whereas the remainder of the series is gray. I’d like to be able to do 2 things ONLY to the green area.

  • Show point markers ONLY on the points in the green area.
  • Increase the stroke thickness.
  • You must to post comments
Best Answer

Hi Chris,

A single series can have multiple colors via the PaletteProvider API (+Documentation)

A single series can only have a single StrokeThickness, however there is nothing stopping you from having two series, one with StrokeThickness=1 and one with StrokeThickness=2 and using the feature of double.NaN to draw gaps in the series

Similarly, to show pointmarkers at some places and not others, simply have another ScatterSeries with the X,Y points you want to show.

If you would really like to do all the above in a single series, it is also possible using the Custom Series API, however the above is simpler.

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.