(live-demo)
ng calendar heatmapDKirwan/calendar-heatmap
Based onHow to use
-
Install
npm i --save ng-calendar-heatmap
-
Install dependencies
npm i --save d3 moment
-
Import module into
app.module.ts
:
...;...
- Add calendar-heatmap component to your component:
- Bind data (currently it only renders, when data is available)
data structure
how to start development envoirement
git clone git@github.com:fischer-matthias/ng-calendar-heatmap.git
npm install
ng build ng-calendar-heatmap --watch
ng serve
- view results under http://localhost:4200