mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-03 20:34:20 +01:00
Modified the number of week for which the x-axis stays in week mode as discussed in issue #125
This commit is contained in:
2
dist/mermaid.full.js
vendored
2
dist/mermaid.full.js
vendored
@@ -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);
|
||||
}
|
||||
|
||||
2
dist/mermaid.slim.js
vendored
2
dist/mermaid.slim.js
vendored
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user