We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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组件随着父容器的宽高变化而变化,所以设置了Echarts的style的宽高都是100%,但是这样一来测试发现即便是父容器的宽高发生了变化,但是Echarts组件并不会重新resize。
<div style={{width, height}}> // 这里的width, height可能会随着浏览器窗口的改变而改变 <EchartsReact style={{width: '100%', height: '100%'}} //...other props /> </div>
The text was updated successfully, but these errors were encountered:
There is a new property autoResize:boolean is added into the ReactEcharts component
Sorry, something went wrong.
autoResize default value is true, but it doesn't work in my Scenario
No branches or pull requests
我的场景是让Echarts组件随着父容器的宽高变化而变化,所以设置了Echarts的style的宽高都是100%,但是这样一来测试发现即便是父容器的宽高发生了变化,但是Echarts组件并不会重新resize。
The text was updated successfully, but these errors were encountered: