Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colors don't seem to match legend when specifying rangeColor #32

Open
warrence2471 opened this issue Jan 7, 2024 · 0 comments
Open

Comments

@warrence2471
Copy link

warrence2471 commented Jan 7, 2024

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 warrence2471 changed the title Colors don't seem to match legend when specifying rangeColors Colors don't seem to match legend when specifying rangeColor Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant