Closed jocooler closed 7 years ago
Hey! thanks for reaching out, there is an (unfortunately not yet documented) configuration property called useGradientAlpha
https://github.com/pa7/heatmap.js/blob/master/src/renderer/canvas2d.js#L161
Could you set that to true in your heatmap configuration and try again?
Hey, that's magic!
Thanks very much!
glad I could help *now filing a ticket to document that property*
Hello,
I'm trying to make a gradient that doesn't show at all until I hit a certain threshold, something like this:
But instead I get a gray color rather than transparent. I did try setting the background color to "transparent" but that didn't seem to help.
Is there a way to accomplish a truly transparent color stop?