We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.当数据量较大,绘制时间较长; 2.在绘制期间,调用图形的dispose方法进行销毁,则会出现问题;
具体调试结果如下: 当正在绘制时,sendEvent方法发送wordclouddrawn事件,该事件会将Text添加到Storage中去,调用storage.addToMap方法。在调用图形的dispose方法时,同时也会调用storege.dispose方法,而Storage会将自身存的对象清空,elements = null,如再调用addTomap方法时,则会this.elements[el.id] = el,这句会报错,因为elemets已经为null;
以上的错误会持续发生,而不会因为报错而终止;最终会导致浏览器比较卡,目前分析到这块。
The text was updated successfully, but these errors were encountered:
同 #12 ,已修复
Sorry, something went wrong.
非常感谢
No branches or pull requests
1.当数据量较大,绘制时间较长;
2.在绘制期间,调用图形的dispose方法进行销毁,则会出现问题;
具体调试结果如下:
当正在绘制时,sendEvent方法发送wordclouddrawn事件,该事件会将Text添加到Storage中去,调用storage.addToMap方法。在调用图形的dispose方法时,同时也会调用storege.dispose方法,而Storage会将自身存的对象清空,elements = null,如再调用addTomap方法时,则会this.elements[el.id] = el,这句会报错,因为elemets已经为null;
以上的错误会持续发生,而不会因为报错而终止;最终会导致浏览器比较卡,目前分析到这块。
The text was updated successfully, but these errors were encountered: