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

传入chart.source的数据错误,可能导致浏览器卡死 #10

Closed
hughfenghen opened this issue Jun 29, 2017 · 2 comments
Closed

Comments

@hughfenghen
Copy link

官方demo为例。
第十五行改成var data = [],再点击执行。当前标签页卡死。
期望绘制图表时,如果从数组中拿不到需要的数据能在控制台打印错误,不会卡死浏览器。

@dxq613
Copy link
Member

dxq613 commented Jun 29, 2017

我定位了下,发现是计算坐标点的时候出问题了,由于这个demo的列定义定义了 min,而没定义max,所以出现了这个问题,下个版本修复掉。建议可以 去掉列定义中的 min,或者 同时设置max

@hughfenghen
Copy link
Author

@dxq613 thx

@dxq613 dxq613 closed this as completed Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants