Pre loader

Is it possible for a dataseries (FastLineRenderableSeries) to have multiple colors in one line? (v5.0 WPF)

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

0
0

For example, to draw a first part of a Line green and the second white? Or do you need multiple dataseries for that?

Especially I nee some areas of the line where there should be a “gap”, which could be done with multiple lines or (maybe easier from this totally beginner point of view) with one line, where some parts (the gaps) get black color.

I think, I will need multiple lines for that, but I wanted to be sure…

Thanks in advance.

Version
5.0
  • You must to post comments
0
0

Hi Philip,

Yes it is possible to colour line segments using our PaletteProvider feature. Have a look at this documentation for more info:

Gaps are drawn by inserting Y=double.NaN into the data series. This example provides more info.

Let me know if this helps!

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies