echarts-for-react icon indicating copy to clipboard operation
echarts-for-react copied to clipboard

feat: whether to trigger `this.resize` when window resize

Open fakership opened this issue 2 years ago • 5 comments

fakership avatar Jun 07 '22 12:06 fakership

echarts will not resize when window resize, so i think the resize shoud not as a default behavoir

fakership avatar Jun 08 '22 04:06 fakership

echarts will not resize when window resize, so i think the resize shoud not as a default behavoir

fakership avatar Jun 08 '22 04:06 fakership

as a config is ok

fakership avatar Jun 08 '22 04:06 fakership

as a config is ok

fakership avatar Jun 08 '22 04:06 fakership

I came looking for something like this, as when I use react-to-print, echart wont resize.

albcunha avatar Jun 12 '22 16:06 albcunha

rename the config to autoResize, and default value is true.

hustcc avatar Aug 24 '22 11:08 hustcc

rename the config to autoResize, and default value is true. @hustcc

done,i have changed triggerReisize to autoResize

fakership avatar Aug 26 '22 11:08 fakership

Coverage Status

Coverage remained the same at 96.97% when pulling 677a864ccbce5ddef2cb5866c7b492b58448c747 on fakership:master into 0e98914b759015076604454e358ab46bbc0e9252 on hustcc:master.

coveralls avatar Sep 01 '22 02:09 coveralls

@hustcc Any chance you can publish this release? It looks like this option isn't available in version 3.0.2.

Thank you!

nickpresta avatar Nov 01 '22 22:11 nickpresta

@hustcc +1 to the previous comment, would appreciate if this option was published to release!

c3-edwinlo avatar Mar 31 '23 17:03 c3-edwinlo