genezx opened a new issue, #19015:
URL: https://github.com/apache/echarts/issues/19015

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   
https://echarts.apache.org/examples/zh/editor.html?c=tree-polyline&version=5.4.3&code=M4UwLgkgdmIE4DcCGAbAFAMwK5QMZgEsB7KNASgAIBvAKAotxODAoBMkwkKBeau-ilCQBbEAC4KAciSSANP3q4AFgRSs4IKBIDaCgbQGHBI8RQCyHJQDo4SKKyLDy8oxQC-LgQF1-bgNz8RAAOhCQ8fIagcAQgwDp69AauFGAAnkGmkmAaIHIJAuycOoVIXp6uIKwA5iAAykpIGRIAREFEKKkoBFAgzeVGKEgARiAoEknJFENIuADWVXBEOKwAwu1EcBKSAMQYe3mT9G3ABKFaUiggGGAHhwjwhLioAIJdVeeSwgSsrJe3k6gCO8ttEqkobvl6B5IRRLkh7nEIodBiMxkjDhRjqdiB9QeD_ncHgQnihXkCPl8fn9-gC3h9LtdJDCoTDoa43HofFCAvRhKkVg04GArKAwAB5EI4tDBM5kAIeCgAJgADKq5UA
   
   ### Steps to Reproduce
   
   setInterval(function() {
     const data = {
       name: 'a',
       children: [
         {
           name: Math.random(),
         },
       ]
     };
     option = {
       series: [
         {
           type: 'tree',
           data: [data],
           edgeShape: "polyline",
           label: {
             backgroundColor: '#fff',
             position: 'left',
             verticalAlign: 'middle',
             align: 'right'
           },
           leaves: {
             label: {
               position: 'right',
               verticalAlign: 'middle',
               align: 'left'
             }
           },
         }
       ]
     };
     myChart.setOption(option);
   }, 2000);
   
   
   ### Current Behavior
   
   当数据更新时,连接线消失
   
   ### Expected Behavior
   
   当数据更新时,连接线不消失
   
   ### Environment
   
   ```markdown
   - OS: Windows 10.8.4
   - Browser: Chrome 115
   - Framework: None
   ```
   
   
   ### 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]

Reply via email to