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 2018/09/06 05:31:13 UTC

[GitHub] Ovilia commented on issue #7730: 变换容器尺寸后图表实例的resize可不可以不手动调用,像highcharts一样

Ovilia commented on issue #7730: 变换容器尺寸后图表实例的resize可不可以不手动调用,像highcharts一样
URL: https://github.com/apache/incubator-echarts/issues/7730#issuecomment-418969500
 
 
   改进方法:默认监听容器尺寸变化,改变时调用 resize。除此之外,需提供一个额外的配置项取消自动 resize。
   ```js
   chart = echarts.init(dom, null, {
       autoResize: false
   });
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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