HeatMap white in the zero values (Help)

Aug 14, 2013 at 11:18 AM
Hello guys!

I´m using a Heatmap in my application, but for me would me nice if i could let the points with of the Data[i,j] = 0, in the White color, or maybe transparent if possible ....

That is important, because i will put another kind of series above the heatmap, so it will be good for a better visualization ...

Thx for all =D
Aug 14, 2013 at 11:45 AM
Never mind, i found!
Dec 10, 2013 at 1:59 PM
Could you post it here? I'm trying to do exactly that and have no clue! I'm new to Oxyplot!
Dec 11, 2013 at 10:15 AM
Edited Dec 11, 2013 at 1:11 PM
Ok, solved, here's the solution (this is Objo's answer to another thread):

You can create your own palettes like so:
var palette = OxyPalette.Interpolate(NUM_COLORS, COLOR_FROM, COLOR_TO);
So in this case, we'd like to have:
var palette = OxyPalette.Interpolate(50, OxyColors.White, OxyColors.Black);