vue3-calendar-heatmap
vue3-calendar-heatmap copied to clipboard
Colors don't seem to match legend when specifying rangeColor
This is an example heatmap from a Gitea instance I am using:
As far as I can tell, Gitea does not specify a
max
value, but range-color
(see https://github.com/go-gitea/gitea/blob/main/web_src/js/components/ActivityHeatmap.vue), but in this heatmap there is no day in the "highest" category (5), only one day in category 4, which seems to be unintended behavior.
Also please consider this example from this project's documentation: https://razorness.github.io/vue3-calendar-heatmap/#example-1
The color for the single day with highest contribution count does not appear in the legend, and the "lowest" color in the legend does not appear in the map.