tfp-Im opened a new issue, #19742: URL: https://github.com/apache/echarts/issues/19742
### Version e.g. 5.2.2 ### Link to Minimal Reproduction https://codepen.io/h2yn/pen/VwNpBBd ### Steps to Reproduce  var dom = document.getElementById('chart-container'); var myChart = echarts.init(dom, null, { renderer: 'canvas', useDirtyRect: false }); var app = {}; var option; option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [ { data: [120, 200, 150, 80, 70, 110, 130], type: 'bar', showBackground: true, backgroundStyle: { color: 'rgba(180, 180, 180, 0.2)' }, emphasis: { itemStyle: { color: "rgba(75, 137, 255, 0.6)", }, }, } ] }; if (option && typeof option === 'object') { myChart.setOption(option); } this.test(); window.addEventListener('resize', myChart.resize); function test(){ setTimeout(()=>{ console.log("test"); option.series[0].data.push(100); myChart.setOption(option); myChart.resize(); this.test(); },1000) }; ### Current Behavior 1. Define a method to restart resize 2. Draw echart in computer, smartphone environment 3. computer(hover), smartphone(click) on the graph bar 4. resize and Graph highlights don't disappear ### Expected Behavior 1. Define a method to restart resize 2. Draw echart in computer, smartphone environment 3. computer(hover), smartphone(click) on the graph bar 4. resize and Graph highlights disappear ### Environment ```markdown - OS: - Browser: - Framework: ``` ### Any additional comments? _No response_ -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
