|
|
@ -16170,7 +16170,10 @@ function Graph (container, data, options) { |
|
|
|
smoothCurves: true, |
|
|
|
maxVelocity: 10, |
|
|
|
minVelocity: 0.1, // px/s
|
|
|
|
stabilizationIterations: 1000 // maximum number of iteration to stabilize
|
|
|
|
stabilizationIterations: 1000, // maximum number of iteration to stabilize
|
|
|
|
tooltip: { |
|
|
|
delay: 300 |
|
|
|
} |
|
|
|
}; |
|
|
|
this.editMode = this.constants.dataManipulation.initiallyVisible; |
|
|
|
|
|
|
@ -16667,6 +16670,14 @@ Graph.prototype.setOptions = function (options) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (options.tooltip) { |
|
|
|
for (prop in options.tooltip) { |
|
|
|
if (options.tooltip.hasOwnProperty(prop)) { |
|
|
|
this.constants.tooltip[prop] = options.tooltip[prop]; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -17110,7 +17121,7 @@ Graph.prototype._onMouseMoveTitle = function (event) { |
|
|
|
clearInterval(this.popupTimer); // stop any running calculationTimer
|
|
|
|
} |
|
|
|
if (!this.drag.dragging) { |
|
|
|
this.popupTimer = setTimeout(checkShow, 300); |
|
|
|
this.popupTimer = setTimeout(checkShow, this.constants.tooltip.delay); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|