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:12:17 +01:00
parent 85cdfbaaf8
commit ec9094696b
2 changed files with 2 additions and 2 deletions

View File

@@ -28485,7 +28485,7 @@ module.exports.draw = function (text, id) {
.tickSize(-h + theTopPad + conf.gridLineStartPadding, 0, 0) .tickSize(-h + theTopPad + conf.gridLineStartPadding, 0, 0)
.tickFormat(d3.time.format.multi(formatter)) .tickFormat(d3.time.format.multi(formatter))
; ;
if(daysInChart >7 && daysInChart<230){ if(daysInChart >7 && daysInChart<230){
xAxis = xAxis.ticks(d3.time.monday.range); xAxis = xAxis.ticks(d3.time.monday.range);
} }

View File

@@ -28453,7 +28453,7 @@ module.exports.draw = function (text, id) {
.tickSize(-h + theTopPad + conf.gridLineStartPadding, 0, 0) .tickSize(-h + theTopPad + conf.gridLineStartPadding, 0, 0)
.tickFormat(d3.time.format.multi(formatter)) .tickFormat(d3.time.format.multi(formatter))
; ;
if(daysInChart >7 && daysInChart<230){ if(daysInChart >7 && daysInChart<230){
xAxis = xAxis.ticks(d3.time.monday.range); xAxis = xAxis.ticks(d3.time.monday.range);
} }