-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
dom 定义了宽度和高度 为什么还是会提示Can't get dom width or height #4569
Comments
初始化的时候无法获取 dom 的 clientWidth 和 clientHeight,新版本支持初始化的时候指定高宽,http://echarts.baidu.com/api.html#echarts.init |
@pissang 新版本初始化时指定heigth, width, 也会有警告有同样的警告信息,望fix。 |
遇到同样的问题,页面初始化时定义了div的宽和高了 控制台还是提示Can't get dom width or height |
@pissang 希望ts文件能更新到最新版,0.0.5版本中 init 没有width和height |
@pissang 的确加了width和height 还是报同样的错误 Can't get dom width or height |
@pissang echarts 3.5.1版本依然还是warning提示Can't get dom width or height |
一樣有問題 echarts.js:1618 Can't get dom width or height |
已经定了div的宽和高了 控制台还是提示Can't get dom width or height
The text was updated successfully, but these errors were encountered: