YogeshJC commented on issue #10593: Total Canvas size exceeds the maximum limit in iOS URL: https://github.com/apache/incubator-echarts/issues/10593#issuecomment-498547242 ``` refreshView() { let _privateMembers = _private(this); if (this.chartModule) { _privateMembers._chartContainer = _privateMembers._layoutManager.getChartCanvasContainer(); if (_privateMembers._chart) { //_privateMembers._chart.dispose(); _privateMembers._chart.resize(); } else { _privateMembers._chart = this.chartModule.init(_privateMembers._chartContainer, this.model.defaultProperties.theme.name); this.model.beforeDraw(); this.setOption(); } } } ``` I called the refreshView() method on the resize of the charts(Orientation Change). As you suggested the I removed dispose and changed it to resize. I still notice the error message thrown when the orientation is changed.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
