apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.61k stars 19.62k forks source link

ReferenceError: zrUtil is not defined #8452

Closed wukuy closed 2 years ago

wukuy commented 6 years ago

One-line summary [问题简述]

js 报错 某些android版本手机报错

[Vue warn]: Error in callback for watcher "options": "ReferenceError: zrUtil is not defined"

折线图无法正常显示

Version & Environment [版本及环境]

Expected behaviour [期望结果]

4.10没这个问题的报错

我这里已经解决,

package.json

"echarts": "^4.0.4",

改为 package.json

"echarts": "4.0.4",

^去掉。把版本号锁死在4.0.4,^会升级小版本 重现装包 特意提issues,遇到相同问题有参考

luxueyan commented 6 years ago

use echarts 4.1 ! I have the same problem in chrome 44!

yuyichen commented 6 years ago

安卓5.1.1 echart 4.1 echart 为pie类型时报同样的错误

xiongyuqiong commented 6 years ago

我的是vue+echarts4.1.0 也遇到了这个问题 请问楼主有遇到过么

donotlb commented 5 years ago

android 5.1.1, 换成固定版本 4.0.4 暂时解决了问题,希望官方能解决该问题,兼容性调试是真的消耗时间啊

chenchensdo commented 5 years ago

降至4.0.4版本确实可以,最新版本反而不行,是什么原因,希望官方关注一下

Circleee commented 5 years ago

我也遇到过了这个问题

Amorites commented 5 years ago

移动端 chrome40 echarts 4.2.1 可以复现

YaoHuangMark commented 4 years ago

如果在不能降级的情况下,有别的解决方案吗? @wukuy

SHERRYWANNA commented 4 years ago

android 4.4 echarts 4.7.0 env 打正式包情况下就会消失,development下还会出现

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] commented 2 years ago

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!