|
@ -379,8 +379,8 @@ Timeline.prototype.fit = function (options) { |
|
|
Timeline.prototype.getItemRange = function () { |
|
|
Timeline.prototype.getItemRange = function () { |
|
|
// get a rough approximation for the range based on the items start and end dates
|
|
|
// get a rough approximation for the range based on the items start and end dates
|
|
|
var range = this.getDataRange(); |
|
|
var range = this.getDataRange(); |
|
|
var min = range.min.valueOf(); |
|
|
|
|
|
var max = range.max.valueOf(); |
|
|
|
|
|
|
|
|
var min = range.min !== null ? range.min.valueOf() : null; |
|
|
|
|
|
var max = range.max !== null ? range.max.valueOf() : null; |
|
|
var minItem = null; |
|
|
var minItem = null; |
|
|
var maxItem = null; |
|
|
var maxItem = null; |
|
|
|
|
|
|
|
|