asdfhalkehflkajdhf commented on issue #9422: graph 加载数据,产生off未定义错误
URL: 
https://github.com/apache/incubator-echarts/issues/9422#issuecomment-439610355
 
 
   > 你能提供正常和错误图表之间的差异选项吗?
   >Can you provide the difference option between the normal and error chart?
   
   
谢谢,我已经找到问题,是在计算坐标时,y的值为NaN。从一开始我就找错了方向,因为坐标是随机计算的。并没有想到会是y值坐标出错。他们提示off没有定义。就直接进到错误代码行查找,最终没有结果。现在已经好了。
   Thank you. I have found the problem. When calculating coordinates, the value 
of Y is NaN. 
   [a.zip](https://github.com/apache/incubator-echarts/files/2591715/a.zip)
   
   From the beginning, I found the wrong direction because the coordinates were 
random. I didn't expect it to be an error in the y value coordinate. They 
suggested that off was not defined. It goes straight to the wrong code line and 
finds no result. It's all right now.
   
   但是,双击事件仍然无响应,代码见附件
   [a.zip](https://github.com/apache/incubator-echarts/files/2591719/a.zip)
   。
   However, the double click event is still unresponsive, and the code is 
attached.
   
   事件代码写法如下:
   The event code is written as follows:
   ```
                g_myChart.on('dblclick', function (params) {
                        console.log('dblclick');
                });
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to