zhangjianrencai commented on issue #14843:
URL: https://github.com/apache/echarts/issues/14843#issuecomment-833184460


   > Could we have the full `option`? So that we could know what the original 
requirement is like.
   
   The full `option` is
   ```
   
   option = {
                   legend: {
                       type: 'scroll',
                       orient: 'horizontal',
                       scrollDataIndex : !!scrollDataIndex ? scrollDataIndex : 
0,
                       bottom: '5%',
                       selectedMode: true,
                   },
            
                  
                   series: [
                       {
                           name: '面积模式',
                           type: 'pie',
                           radius: [50, 250],
                           center: ['50%', '50%'],
                           roseType: 'area',
                           itemStyle: {
                               borderRadius: 8
                           },
                           data: [
                               {value: 40, name: 'rose 1'},
                               {value: 38, name: 'rose 2'},
                               {value: 32, name: 'rose 3'},
                               {value: 30, name: 'rose 4'},
                               {value: 28, name: 'rose 5'},
                               {value: 26, name: 'rose 6'},
                               {value: 22, name: 'rose 7'},
                               {value: 18, name: 'rose 8'},
                               {value: 40, name: 'rose 11'},
                               {value: 38, name: 'rose 12sdfdsf'},
                               {value: 32, name: 'rose 13sdfds'},
                               {value: 30, name: 'rose 14'},
                               {value: 28, name: 'rose 15'},
                               {value: 26, name: 'rose 16'},
                               {value: 22, name: 'rose 17'},
                               {value: 18, name: 'rose 18'}
                           ]
                       }
               ]
   }
       
   ```        
   
   The original issue is after I add `legendselectchanged` event, the issue 
will happen.
   I remove `legendselectchanged` event, the issue will disappear. 
   
   BTW, v4.8.0 is work well


-- 
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]

Reply via email to