Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'dataToPoint' of undefined #14991

Closed
yuerdev opened this issue May 19, 2021 · 4 comments · Fixed by #16184
Closed

Uncaught TypeError: Cannot read property 'dataToPoint' of undefined #14991

yuerdev opened this issue May 19, 2021 · 4 comments · Fixed by #16184
Labels
bug difficulty: easy Issues that can be fixed more easily than the average. resolved

Comments

@yuerdev
Copy link

yuerdev commented May 19, 2021

Version

5.1.1

Reproduction link

https://codepen.io/pumpkindev/pen/ZEeBOjP

Steps to reproduce

关系图飞线渲染报错
我关系图想在links上面设置飞线,初始化的时候用layout:force,点击后想要emphasis adjacency的效果,echart并不支持,所以想在点击之后获取关系图的坐标,
并重新用layout:none渲染,渲染的时候同时加入飞线,报错如下

TypeError: Cannot read property 'dataToPoint' of undefined
    at Object.progress (echarts.min.js:45)

What is expected?

关系图用force渲染,使用飞线效果

What is actually happening?

TypeError: Cannot read property 'dataToPoint' of undefined
    at Object.progress (echarts.min.js:45)
@echarts-bot
Copy link

echarts-bot bot commented May 19, 2021

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug pending We are not sure about whether this is a bug/new feature. waiting-for: community labels May 19, 2021
@echarts-bot
Copy link

echarts-bot bot commented May 19, 2021

@PumpkinDev It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗

TRANSLATED

BODY

Version

5.1.1

Reproduction link

https://codepen.io/pumpkindev/pen/ZEeBOjP

Steps to reproduce

The diagram flyline rendering is incorrect
My diagram wants to set the flyline on the link, initialize with layout:force, click to get the effect of empasis closecy, echart does not support, so want to get the coordinates of the diagram after clicking,
And re-render with layout:none, rendering at the same time add flywire, error as follows

    at Object.progress (echarts.min.js:45)```

### What is expected?
The diagram is rendered with force, using the Flywire effect

### What is actually happening?
```TypeError: Cannot read property 'dataToPoint' of undefined
    at Object.progress (echarts.min.js:45)```
</details>

@pissang pissang removed pending We are not sure about whether this is a bug/new feature. waiting-for: community labels May 19, 2021
@pissang pissang added this to the 5.3.0 milestone May 19, 2021
@pissang pissang added the difficulty: easy Issues that can be fixed more easily than the average. label May 19, 2021
@echarts-bot
Copy link

echarts-bot bot commented May 19, 2021

This issue is labeled with difficulty: easy.
@PumpkinDev Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.

Please have a look at How to debug ECharts if you'd like to give a try. 🤓

@yuerdev
Copy link
Author

yuerdev commented May 19, 2021

@pissang 5.3.0什么时候发布啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug difficulty: easy Issues that can be fixed more easily than the average. resolved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants