nswamy14 / visual-heatmap

Heatmap : Open source javascript module for high performance, large scale heatmap rendering.
BSD 3-Clause "New" or "Revised" License
55 stars 10 forks source link

Background color #29

Closed frjariello closed 4 months ago

frjariello commented 5 months ago

Hi, I'm trying different heatmap scripts, and at the moment I think yours is the most performing and realistic, the only thing, in my case, I would have to 'fill' the whole canvas with a base color (semi-transparent green), so how could I attribute a color to the remaining areas, those without mapping, currently transparent? Thank you

nswamy14 commented 5 months ago

@frjariello , the current implementation allows you to set background images through the API. Alternatively, you can set the background color directly on the container Div element if that suits your needs.

I am planning to introduce new layers—background and overlay layers—in addition to the existing heatmap layer. This will enable full support for shapes, text, and colors as both background and overlay elements on the heatmap layer.

nswamy14 commented 4 months ago

Closing this issue as it is not a bug.