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



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

  • You must to post comments

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.