|
|
@ -459,7 +459,7 @@ Core.prototype.getVisibleItems = function() { |
|
|
|
Core.prototype.fit = function(options) { |
|
|
|
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) { |
|
|
|
return; |
|
|
|
} |
|
|
@ -496,8 +496,8 @@ Core.prototype.getDataRange = function() { |
|
|
|
} |
|
|
|
|
|
|
|
return { |
|
|
|
start: null, |
|
|
|
end: null |
|
|
|
min: start, |
|
|
|
max: end |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|