mdkjs opened a new issue #16566:
URL: https://github.com/apache/echarts/issues/16566


   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   import * as echarts from 'echarts';
   
   var ROOT_PATH =
     'https://cdn.jsdelivr.net/gh/apache/echarts-website@asf-site/examples';
   
   var chartDom = document.getElementById('main');
   var myChart = echarts.init(chartDom);
   var option;
   
   myChart.showLoading();
   $.get(ROOT_PATH + '/data/asset/data/flare.json', function (data) {
     myChart.hideLoading();
     myChart.setOption(
       (option = {
         tooltip: {
           trigger: 'item',
           triggerOn: 'mousemove'
         },
         series: [
           {
             type: 'tree',
             data: [data],
             left: '2%',
             right: '2%',
             top: '8%',
             bottom: '20%',
             symbol: 'emptyCircle',
             orient: 'vertical',
             edgeShape: 'polyline',
             expandAndCollapse: true,
             label: {
               position: 'top',
               rotate: -90,
               verticalAlign: 'middle',
               align: 'right',
               fontSize: 9
             },
             leaves: {
               label: {
                 position: 'bottom',
                 rotate: -90,
                 verticalAlign: 'middle',
                 align: 'left'
               }
             },
             animationDurationUpdate: 750
           }
         ]
       })
     );
   });
   
   option && myChart.setOption(option);
   
   
   ### Current Behavior
   
   节点展开收缩折线有残留
   
   ### Expected Behavior
   
   节点展开收缩折线无残留
   
   ### Environment
   
   ```markdown
   - OS: windows 10
   - Browser: Chrome
   - Framework: Vue@2
   ```
   
   
   ### 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