|
@ -5504,8 +5504,8 @@ ItemSet.prototype.getAxis = function getAxis() { |
|
|
ItemSet.prototype.reflow = function reflow () { |
|
|
ItemSet.prototype.reflow = function reflow () { |
|
|
var changed = 0, |
|
|
var changed = 0, |
|
|
options = this.options, |
|
|
options = this.options, |
|
|
marginAxis = options.margin && options.margin.axis || this.defaultOptions.margin.axis, |
|
|
|
|
|
marginItem = options.margin && options.margin.item || this.defaultOptions.margin.item, |
|
|
|
|
|
|
|
|
marginAxis = (options.margin && 'axis' in options.margin) ? options.margin.axis : this.defaultOptions.margin.axis, |
|
|
|
|
|
marginItem = (options.margin && 'item' in options.margin) ? options.margin.item : this.defaultOptions.margin.item, |
|
|
update = util.updateProperty, |
|
|
update = util.updateProperty, |
|
|
asNumber = util.option.asNumber, |
|
|
asNumber = util.option.asNumber, |
|
|
asSize = util.option.asSize, |
|
|
asSize = util.option.asSize, |
|
@ -17583,9 +17583,10 @@ Graph.prototype._animationStep = function() { |
|
|
this.renderTime = Date.now() - renderTime; |
|
|
this.renderTime = Date.now() - renderTime; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || |
|
|
|
|
|
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame; |
|
|
|
|
|
|
|
|
if (typeof window !== 'undefined') { |
|
|
|
|
|
window.requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || |
|
|
|
|
|
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Schedule a animation step with the refreshrate interval. |
|
|
* Schedule a animation step with the refreshrate interval. |
|
|