g1eb / angular-calendar-heatmap

📊 Angular directive for d3.js calendar heatmap graph

Home Page:https://rawgit.com/g1eb/angular-calendar-heatmap/master/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to select date range

juliodavidjulio opened this issue · comments

Hi there,

First of all: this calendar is awesome.

We would like to use it in our intranet. It would be great to be able to set the timeframe. For example, we would like to show all the activities between the first day of the year and the last day of the year.

Is there any way to set that?

All the best,
Julio

commented

Hello Julio, glad you like it :)

Currently the calendar shows the data you give it and expects it to be a year back from today.

Someone else requested this feature to show multiple years in an overview, and make year overview show activities between the first and the last day of the year (a calendar year) as a timeframe. I need to make some time to add that :)

So to answer your question, you can't really define your own timeframe (yet) but a 'calendar year' timeframe is the next thing that will be added alongside multiple year overview.

commented

Hi Julio, there was a feature request for multiple years overview.

As a result year overview now shows data ranging from 1st of January to 31st of December.
Does this fix your issue with timeframe in the previous version?

v0.3.0