Skip to content

Commit

Permalink
Modified the number of week for which the x-axis stays in week mode a…
Browse files Browse the repository at this point in the history
…s discussed in issue #125
  • Loading branch information
knsv committed Mar 5, 2015
1 parent 85cdfba commit ec90946
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/mermaid.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -28485,7 +28485,7 @@ module.exports.draw = function (text, id) {
.tickSize(-h + theTopPad + conf.gridLineStartPadding, 0, 0)
.tickFormat(d3.time.format.multi(formatter))
;

if(daysInChart >7 && daysInChart<230){
xAxis = xAxis.ticks(d3.time.monday.range);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/mermaid.slim.js
Original file line number Diff line number Diff line change
Expand Up @@ -28453,7 +28453,7 @@ module.exports.draw = function (text, id) {
.tickSize(-h + theTopPad + conf.gridLineStartPadding, 0, 0)
.tickFormat(d3.time.format.multi(formatter))
;

if(daysInChart >7 && daysInChart<230){
xAxis = xAxis.ticks(d3.time.monday.range);
}
Expand Down

0 comments on commit ec90946

Please sign in to comment.