Modified the number of week for which the x-axis stays in week mode as discussed in issue #125

This commit is contained in:
knsv
2015-03-05 08:09:33 +01:00
parent 421409181d
commit 85cdfbaaf8
7 changed files with 18 additions and 9 deletions

View File

@@ -316,7 +316,7 @@ module.exports.draw = function (text, id) {
.tickFormat(d3.time.format.multi(formatter))
;
if(daysInChart >7 && daysInChart<60){
if(daysInChart >7 && daysInChart<230){
xAxis = xAxis.ticks(d3.time.monday.range);
}