Skip to content

Commit

Permalink
Try to Fix #6121. (axesInfo of null)
Browse files Browse the repository at this point in the history
  • Loading branch information
100pah committed Jul 15, 2017
1 parent b3f3425 commit 1b52088
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/component/axisPointer/axisTrigger.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ define(function(require) {
var dispatchAction = payload.dispatchAction || zrUtil.bind(api.dispatchAction, api);
var coordSysAxesInfo = ecModel.getComponent('axisPointer').coordSysAxesInfo;

// Pending
// See #6121. But we are not able to reproduce it yet.
if (!coordSysAxesInfo) {
return;
}

if (illegalPoint(point)) {
// Used in the default behavior of `connection`: use the sample seriesIndex
// and dataIndex. And also used in the tooltipView trigger.
Expand Down

1 comment on commit 1b52088

@TongDaDa
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请问这个添加的代码放在哪里呢? 不会时源码把?

Please sign in to comment.