X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..refs/heads/master:/docs/source/Tip4.html
diff --git a/docs/source/Tip4.html b/docs/source/Tip4.html
index 0ad4fabc..37fc93bb 100644
--- a/docs/source/Tip4.html
+++ b/docs/source/Tip4.html
@@ -3,8 +3,8 @@
The source code
-
-
+
+
@@ -39,7 +39,10 @@ Ext.define('Ext.chart.Tip', {
constrainPosition: false
});
me.tooltip = Ext.create('Ext.tip.ToolTip', me.tipConfig);
- Ext.getBody().on('mousemove', me.tooltip.onMouseMove, me.tooltip);
+ me.chart.surface.on('mousemove', me.tooltip.onMouseMove, me.tooltip);
+ me.chart.surface.on('mouseleave', function() {
+ me.hideTip();
+ });
if (me.tipConfig.surface) {
//initialize a surface
surface = me.tipConfig.surface;