You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/06/21 09:52:46 UTC

[GitHub] [incubator-echarts] 52jc commented on issue #10714: 屏幕发生改变时,如何重新加载graphic中自己画的图形

52jc commented on issue #10714: 屏幕发生改变时,如何重新加载graphic中自己画的图形
URL: https://github.com/apache/incubator-echarts/issues/10714#issuecomment-504366988
 
 
   是用react写的,一个页面有多个组件,多个组件里有图表,如果在多个组件里加window.onresize的话会冲突,有的不执行,如果在页面里面写的话,因为有graphic自己画的东西,所以需要往主页面传很多参数,包括在graphic上绑定的函数等,所以想问一下,对于这种情况,有什么更好的办法吗

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org