You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/06/15 01:52:04 UTC

[GitHub] [echarts] xingaa commented on issue #4295: 官网实例是如何实现图表宽高随浏览器窗口变化而自适应的?

xingaa commented on issue #4295:
URL: https://github.com/apache/echarts/issues/4295#issuecomment-1155886822

   > 类似的问题,两个实例,为什么只有一个实例随着浏览器窗口的变化而变化,而另一个不变。要怎么写? myChart.setOption(option); myChart2.setOption(option2); window.onresize = myChart.resize; window2.onresize = myChart2.resize;
   
   window2不存在吧


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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