Echartswest commented on issue #13923: URL: https://github.com/apache/echarts/issues/13923#issuecomment-823763321
Hello, The resize animation works with resize config in V5.1. However in V5.1, when I use the graphic in group, the children in type 'text' in the group is still not animated, it will appear immediately with resizing and before the animation. Can we make the whole group to be animated and synchronized when resize? Thanks! An example with https://echarts.apache.org/examples/zh/editor.html?c=custom-calendar-icon By adding a toolbox into the option to test: toolbox: { show : true, feature: { myTool: { show : true, title : 'Resize', icon : 'path://M432.45,595.444c0,2.177-4.661,6.82-11.305,6.82c-6.475,0-11.306-4.567-11.306-6.82s4.852-6.812,11.306-6.812C427.841,588.632,432.452,593.191,432.45,595.444L432.45,595.444zM421.155,589.876c-3.009,0-5.448,2.495-5.448,5.572s2.439,5.572,5.448,5.572c3.01,0,5.449-2.495,5.449-5.572C426.604,592.371,424.165,589.876,421.155,589.876L421.155,589.876zM421.146,591.891c-1.916,0-3.47,1.589-3.47,3.549c0,1.959,1.554,3.548,3.47,3.548s3.469-1.589,3.469-3.548C424.614,593.479,423.062,591.891,421.146,591.891L421.146,591.891zM421.146,591.891', onclick : function (){ //ResizeChart; if (size == '600px'){ size = '1000px'; } else { size = '600px'; } document.getElementById('main').style.height = size; myChart.resize({ animation: { duration: 300, easing: 'cubicInOut' } }); } }, } }, -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
