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 2020/06/30 02:59:21 UTC

[GitHub] [incubator-echarts] zhangying2345 commented on issue #7047: 在Angular应用中使用echart,会持续占用cpu

zhangying2345 commented on issue #7047:
URL: https://github.com/apache/incubator-echarts/issues/7047#issuecomment-651494246


   用angular初始化echarts时需要放到监测zone外面:
   `
   this.ngZone.runOutsideAngular(() => {
         echarts.init(nativeElement);
   })
   `


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



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