Pre loader

Heatmap colormap

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

Hi,

I wanted to setup a heatmap colorpalette where ColorMaximum is dynamic.So heat values starts from 0 to unknown.
I want to have a colormap where heatvalue ranges like 0-10 should be mapped to color A, 10-50 by color B, 50-100 by color C and 100 onwards to maximum value by colorD. Is it possible?

Required ColorPalette as below
0-10 – ColorA
10-50 – ColorB
50-100 – ColorC
100-Infinity- ColorD

Version
5.1
  • You must to post comments
0
0

Hi there,

Thanks for your question.
The Offset property for HeatmapColorPalette.GradientStops is set as a percentage of the range of the Colormap. So you can either do mapping as follows:
0-10 = 0.1,
10-50 = 0.5,

or find the proper GradientStops for your Colormap range.

Hope this helps.

  • 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