echarts-for-react
echarts-for-react copied to clipboard
feat: whether to trigger `this.resize` when window resize
echarts will not resize when window resize, so i think the resize shoud not as a default behavoir
echarts will not resize when window resize, so i think the resize shoud not as a default behavoir
as a config is ok
as a config is ok
I came looking for something like this, as when I use react-to-print, echart wont resize.
rename the config to autoResize
, and default value is true
.
rename the config to
autoResize
, and default value istrue
. @hustcc
done,i have changed triggerReisize to autoResize
Coverage remained the same at 96.97% when pulling 677a864ccbce5ddef2cb5866c7b492b58448c747 on fakership:master into 0e98914b759015076604454e358ab46bbc0e9252 on hustcc:master.
@hustcc Any chance you can publish this release? It looks like this option isn't available in version 3.0.2
.
Thank you!
@hustcc +1 to the previous comment, would appreciate if this option was published to release!