szkissyh commented on issue #11615: IOS 一个页面切换地理坐标图时报错:TypeError:null is not an
object(evaluating 'this.ctx.dpr=this.dpr')
URL:
https://github.com/apache/incubator-echarts/issues/11615#issuecomment-552783800
> 从截图来看你竖屏时候的分辨率太高了,对于 canvas 来说内存占用跟分辨率是正比的
是分辨率太高了,调整以后就好了,谢谢
szkissyh commented on issue #11615: IOS 一个页面切换地理坐标图时报错:TypeError:null is not an
object(evaluating 'this.ctx.dpr=this.dpr')
URL:
https://github.com/apache/incubator-echarts/issues/11615#issuecomment-552393085
> 一般这种错误是 dispose 后继续使用 chart 实例造成的,@szkissyh 建议再排查一下,同时也可以整理一个可以最小复现的 demo
发给我们
szkissyh commented on issue #11615: IOS 一个页面切换地理坐标图时报错:TypeError:null is not an
object(evaluating 'this.ctx.dpr=this.dpr')
URL:
https://github.com/apache/incubator-echarts/issues/11615#issuecomment-552281777
> `dispose` 之后需要 `chart = null` 然后重新 `chart = echarts.init(...)`
修改了