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

Closed
blazert opened this Issue Nov 28, 2016 · 7 comments

Comments

Projects
None yet
7 participants
@blazert

blazert commented Nov 28, 2016

已经定了div的宽和高了 控制台还是提示Can't get dom width or height

@pissang

This comment has been minimized.

Show comment
Hide comment
@pissang

pissang Nov 28, 2016

Contributor

初始化的时候无法获取 dom 的 clientWidth 和 clientHeight,新版本支持初始化的时候指定高宽,http://echarts.baidu.com/api.html#echarts.init

Contributor

pissang commented Nov 28, 2016

初始化的时候无法获取 dom 的 clientWidth 和 clientHeight,新版本支持初始化的时候指定高宽,http://echarts.baidu.com/api.html#echarts.init

@pissang pissang closed this Nov 28, 2016

@codering

This comment has been minimized.

Show comment
Hide comment
@codering

codering Dec 8, 2016

@pissang 新版本初始化时指定heigth, width, 也会有警告有同样的警告信息,望fix。

codering commented Dec 8, 2016

@pissang 新版本初始化时指定heigth, width, 也会有警告有同样的警告信息,望fix。

@weieh

This comment has been minimized.

Show comment
Hide comment
@weieh

weieh Feb 15, 2017

遇到同样的问题,页面初始化时定义了div的宽和高了 控制台还是提示Can't get dom width or height

weieh commented Feb 15, 2017

遇到同样的问题,页面初始化时定义了div的宽和高了 控制台还是提示Can't get dom width or height

@keyiis

This comment has been minimized.

Show comment
Hide comment
@keyiis

keyiis Feb 27, 2017

@pissang 希望ts文件能更新到最新版,0.0.5版本中 init 没有width和height

keyiis commented Feb 27, 2017

@pissang 希望ts文件能更新到最新版,0.0.5版本中 init 没有width和height

@keyiis

This comment has been minimized.

Show comment
Hide comment
@keyiis

keyiis Feb 27, 2017

@pissang 的确加了width和height 还是报同样的错误 Can't get dom width or height

keyiis commented Feb 27, 2017

@pissang 的确加了width和height 还是报同样的错误 Can't get dom width or height

100pah added a commit that referenced this issue Mar 1, 2017

@Shane1121

This comment has been minimized.

Show comment
Hide comment
@Shane1121

Shane1121 Mar 31, 2017

@pissang echarts 3.5.1版本依然还是warning提示Can't get dom width or height

@pissang echarts 3.5.1版本依然还是warning提示Can't get dom width or height

@hithto

This comment has been minimized.

Show comment
Hide comment
@hithto

hithto Sep 14, 2017

一樣有問題 echarts.js:1618 Can't get dom width or height

hithto commented Sep 14, 2017

一樣有問題 echarts.js:1618 Can't get dom width or height

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment