Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to glue months in cal-heatmap

I'm using cal-heatmap to draw github like calendar as you can see in this jsfiddle.

var calendar = new CalHeatMap();
calendar.init({
    data: data,
    start: new Date(2000, 1),
    domain: "month",
    subDomain: "day",
    range: 3,
    scale: [40, 60, 80, 100]
});

enter image description here

Is it possible to remove space between each month (like the github contribution graph)?

enter image description here

I have try the option domainGutter : 0 who is not working on this special case.

like image 889
Vivien Avatar asked Nov 03 '22 20:11

Vivien


1 Answers

Short answer is no (not yet). Each month is in its own "domain", and can't be glued (overlapped in your case), to allow a smoother domain browsing.

like image 108
Wa0x6e Avatar answered Nov 08 '22 04:11

Wa0x6e