Closed fonky415 closed 7 months ago
Heatmap defaults to "current year" unless you specify otherwise, so you have to put
const calendarData = { year: 2023 }
on your 2023 calendars and year: 2024
on this year's.
Now I know why the generated heatmap has nothing but a 24
in the upper-left corner (it indicates the year) after wasting 50 minutes updating my templates without success then checking issue tracker and solving this within 30 seconds🤦🏼.
Replacing it for me doesn't work...
Where am I supposed to place the additional year: 2024
? I put it here but it isn't working.
Thanks in advance @belaset
You're close - for the 2023 heatmap you'd put:
const calendarData = {
year: 2023,
intensityScaleStart: 1,
intensityScaleEnd: 9,
colors: { ...
...the rest of your stuff here...
}
Change the year for 2024 accordingly :)
Thank you so much!!! You're actually a savior. Have a great rest of your day
Happy to help :)
Now that it's 2024, the heatmaps for 2023 and previous years are broken. Shows empty cells. How could I fix this?