mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02: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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user