Can't render day and month labels
Hello again,
https://svelte-heatmap.netlify.app/ provided the explicit example I was looking for—thanks!
I created this REPL accordingly.
However, now I've encountered another problem: I can't seem to get the day or month labels to render, no matter what values I provide to monthLabelHeight and dayLabelWidth.
This is also illustrated at https://svelte-heatmap.netlify.app/, where you can only ever so slightly see the bottom of the month labels.
Could this be an issue with how the viewBox is calculated?
I was also having an issue with dayLabelWidth. I solved it by passing a number to the prop instead of a string.
Example:
dayLabelWidth={10}
Doesn't work if you put a string like this: (DON'T DO)
dayLabelWidth='10'
Changing the prop type to a number solved it for me. Hope this helps