echarts-for-react icon indicating copy to clipboard operation
echarts-for-react copied to clipboard

Cannot read property 'getRawIndex' of undefined

Open wustdjf opened this issue 7 years ago • 3 comments

这种错误怎么解决啊,力引导图还没绘制完成,鼠标hover就会报错。echarts-for-react有没有方法判断图片是否加载完成呢

wustdjf avatar Aug 19 '19 06:08 wustdjf

I'm getting this same erro when I try to call an action of redux inside the showTip event.

_handleMouseMove = (params) => {
    const { _setYearHover, yearHover } = this.props;
    const { dataIndex } = params;

    if (dataIndex !== yearHover) {
      _setYearHover(dataIndex);
    }
}

Does someone know why? The error seems to be in this part of the code

image

albertogaldames avatar Aug 29 '19 07:08 albertogaldames

same here 同问!!!

Li-Kuan avatar Oct 18 '19 10:10 Li-Kuan

请到 echarts 项目中提 issue。

hustcc avatar Nov 04 '19 00:11 hustcc