react-heat-map
react-heat-map copied to clipboard
Start date as "Today"
How do we start the heatmap from the start date as today?
https://github.com/uiwjs/react-heat-map/blob/29f6a14cbc600efa0827946c5033c76f29c7d25b/core/src/SVG.tsx#L16
@iamsmkr You can try using the startDate
props
I already have tried that. It just doesn't show up as the last <rect>
unfortunately. Seems like the contribution must always show up as a perfect rectangle. Which means startDate
can't be the last/first date.
@iamsmkr I understand your idea. At the moment, I have more interesting things to do. If you submit a PR yourself, I will merge it. Thank you.