-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
echarts is not defined #67
Comments
I have the same trubble : ReferenceError: echarts is not defined It comes from /dist/angular-echarts.js |
ReferenceError: echarts is not defined,i also found |
I have the same trubble : ReferenceError: echarts is not defined |
@lvyulong @LaureMonlouis did you included echarts and angular lib as If the error still exists, please provided your detailed code |
如果是只安装了angular-echarts,还需要再安装下echarts,这样就不会报错了。 |
For anyone else who hates themselves and still uses AngularJS in 2018, the way to fix this is to make sure the window object has access to echarts. So simply do: window.echarts = require 'echarts/dist/echarts.js' |
Similar problem was happened, and fixed it by changing the loaded file from echarts.js to ceharts-all.js. |
No description provided.
The text was updated successfully, but these errors were encountered: