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

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.

SciChart WPF v6 BETA released! Note pricing/licensing changes are coming. Contact us to beat the rise!Read more
+