|
@ -459,7 +459,7 @@ Core.prototype.getVisibleItems = function() { |
|
|
Core.prototype.fit = function(options) { |
|
|
Core.prototype.fit = function(options) { |
|
|
var range = this.getDataRange(); |
|
|
var range = this.getDataRange(); |
|
|
|
|
|
|
|
|
// skip range set if there is no start and end date
|
|
|
|
|
|
|
|
|
// skip range set if there is no min and max date
|
|
|
if (range.min === null && range.max === null) { |
|
|
if (range.min === null && range.max === null) { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
@ -496,8 +496,8 @@ Core.prototype.getDataRange = function() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return { |
|
|
return { |
|
|
start: null, |
|
|
|
|
|
end: null |
|
|
|
|
|
|
|
|
min: start, |
|
|
|
|
|
max: end |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|