UNPKG

react-d3-calendar-heatmap

Version:
65 lines (39 loc) 1.05 kB
## 0.0.13 - New prop: `labelsFillColor` ## 0.0.12 - New prop: `fillToWidth`, if true timeRange.from is ignored and it's calculated depending on the width. So all width is filled with cells. ## 0.0.11 - Solve issue with date format ## 0.0.10 - Expose `tooltipOffsetX` as distance between tooltip and cursor - Expose `formatDay` ## 0.0.9 - Expose props: `defaultColor`, `marginTop`, `marginBottom`, `marginLeft`, `paddingUnderMonthHeader`, `paddingAfterDayOfWeekHeader`, and `cellPadding` ## 0.0.8 - Padding for year and days of week ## 0.0.7 - Issue with overlap months ## 0.0.6 - Expose prop `valueFn` ## 0.0.5 - Solve issue where month overlaps year - Tooltip adjustments - Expose props: `cellShape` and `formatDate` ## 0.0.4 - Add projects for tooltip - Refactor timeRange and data - Cover different years on time range - Remove margins ## 0.0.3 - Expose props: `customD3ColorScale`, `width` and `cellSize` ## 0.0.2 - Expose prop `timeRange` ## 0.0.1 - React for painting SVG - D3 for doing the maths calculations