Tom-Yucw commented on issue #18687: URL: https://github.com/apache/echarts/issues/18687#issuecomment-1909251684
I meet with the same problem. In a group, I draw a line, and can be switched to a bar. But when I switch it, the connected charts showed the changed one data. So, I get 2 lines after change back. Before switch:  Switching to bar:  Switch back: get 2 lines  And I have tried to `setOption(op, true)` before connect the charts, but it did not work. ``` allcharts = []; // store all charts in this array ...... // here is a loop to create charts { ...... myChart.group = 'group1'; **myChart.setOption(option, true);** allcharts.push(myChart); } ...... echarts.connect(allcharts); // connect all charts ``` Is there something I did wrong, or any way to solve this? Thanks a lot! -- 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]
