You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526
  1. ## Day-based Month-wise data
  2. The heatmap is a representation of day-wise data (similar to [the GitHub Contribution Graph]()). It spaces out data values linearly, across 5 levels (zero data kept exclusive).
  3. In this case, the data has three parts,
  4. ```js
  5. let heatmapData = {
  6. dataPoints: {
  7. "1426744959": 20,
  8. "1463673055": 113,
  9. "1476892421": 57,
  10. // ...
  11. },
  12. start: startDate, // a JS date object
  13. end: endDate
  14. }
  15. ```
  16. (We are working on making the start date and end date implicit and optional). [tip]
  17. The chart is rendered by the type `heatmap`:
  18. ```js
  19. ```