提交 c020e9e6 编写于 作者: L lang

tweak

上级 0a9e562a
...@@ -201,7 +201,7 @@ define(function (require) { ...@@ -201,7 +201,7 @@ define(function (require) {
} }
// Hide the tooltip // Hide the tooltip
// PENDING // PENDING
this.hide(); // this.hide();
}, },
show: function (tooltipModel) { show: function (tooltipModel) {
......
...@@ -237,9 +237,16 @@ define(function (require) { ...@@ -237,9 +237,16 @@ define(function (require) {
// Try to keep the tooltip show when refreshing // Try to keep the tooltip show when refreshing
if (this._lastX != null && this._lastY != null) { if (this._lastX != null && this._lastY != null) {
this._manuallyShowTip({ var self = this;
x: this._lastX, clearTimeout(this._refreshUpdateTimeout);
y: this._lastY this._refreshUpdateTimeout = setTimeout(function () {
// Show tip next tick after other charts are rendered
// In case highlight action has wrong result
// FIXME
self._manuallyShowTip({
x: self._lastX,
y: self._lastY
});
}); });
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册