This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/master by this push: new 41b2142 fix: update pointer when type is none, #fix 10570 41b2142 is described below commit 41b214250ae19c6da1998672c7301f5e6555e058 Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Thu May 30 15:06:07 2019 +0800 fix: update pointer when type is none, #fix 10570 --- src/component/axisPointer/BaseAxisPointer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/axisPointer/BaseAxisPointer.js b/src/component/axisPointer/BaseAxisPointer.js index 3d564aa..6b206bb 100644 --- a/src/component/axisPointer/BaseAxisPointer.js +++ b/src/component/axisPointer/BaseAxisPointer.js @@ -238,7 +238,7 @@ BaseAxisPointer.prototype = { */ updatePointerEl: function (group, elOption, updateProps) { var pointerEl = inner(group).pointerEl; - if (pointerEl) { + if (pointerEl && elOption.pointer) { pointerEl.setStyle(elOption.pointer.style); updateProps(pointerEl, {shape: elOption.pointer.shape}); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org