Pre loader

Multi-colored line chart

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

1
0

Hello,

Python with Matplotlib allows us to draw a line series that has multiple color depending on something else as shown below (https://matplotlib.org/3.3.0/gallery/lines_bars_and_markers/multicolored_line.html):
enter image description here

Is it possible with SciChart (WPF version)?

Version
V4.2
  • You must to post comments
1
0

Hi Tetsu

Yes it is, the API you need is called the PaletteProvider API.

This allows you to override the colour of a line segment or data-point based on a rule.

Check out the PaletteProvider API documentation here.

Also, we have a control called the HeatmapColorMap which can be placed to the right or left of a chart, which displays the colour map. Learn more by scrolling down to the section on HeatmapColorMap in the Heatmap Documentation.

Let me know if this helps,

Best regards
Andrew

  • You must to post comments
1
0

Hi Andrew,

That is exactly what I was looking for.

Thank you very much.

Best
Tetsu

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.