You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a heatmap similar to github contributions heatmap. My goal is to display a tooltip that shows the specific date (x value), week day (name), and activity value (y value) whenever the user hovers on a cell. Everything's working for the most part except for the tooltip.
I've tried and tested multiple options to display the exact x value for each cell on hover, however the heatmap keeps displaying the Sunday's x value only. Here's an example of the data:
When you hover on the Sunday cell, it displays the x value 2022-02-20, but when you hover on the cells of Monday and Saturday, it still displays 2022-02-20 on the tooltip. What can I do to display the exact x value of each data on the tooltip?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a heatmap similar to github contributions heatmap. My goal is to display a tooltip that shows the specific date (x value), week day (name), and activity value (y value) whenever the user hovers on a cell. Everything's working for the most part except for the tooltip.
I've tried and tested multiple options to display the exact x value for each cell on hover, however the heatmap keeps displaying the Sunday's x value only. Here's an example of the data:
When you hover on the Sunday cell, it displays the x value 2022-02-20, but when you hover on the cells of Monday and Saturday, it still displays 2022-02-20 on the tooltip. What can I do to display the exact x value of each data on the tooltip?
Beta Was this translation helpful? Give feedback.
All reactions