vue3-calendar-heatmap icon indicating copy to clipboard operation
vue3-calendar-heatmap copied to clipboard

Colors don't seem to match legend when specifying rangeColor

Open warrence2471 opened this issue 1 year ago • 0 comments

This is an example heatmap from a Gitea instance I am using: image 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 image 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.

warrence2471 avatar Jan 07 '24 12:01 warrence2471