diff --git a/src/component/tooltip/TooltipView.js b/src/component/tooltip/TooltipView.js index 5aa9a256ba05a17d1fbb4bb57f539e523bed4b2c..d4af6517cb35ff219d0b9b143ab5fb534de12d97 100644 --- a/src/component/tooltip/TooltipView.js +++ b/src/component/tooltip/TooltipView.js @@ -124,8 +124,8 @@ define(function (require) { var rect = el && el.getBoundingRect().clone(); el && rect.applyTransform(el.transform); if (typeof positionExpr === 'function') { - // Callback of position can be an array or a string specify the positiont - positionExpr = positionExpr([x, y], params, rect); + // Callback of position can be an array or a string specify the position + positionExpr = positionExpr([x, y], params, content.el, rect); } if (zrUtil.isArray(positionExpr)) {