You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/05/08 02:36:09 UTC

[GitHub] [incubator-echarts] 0bscurus opened a new issue #10413: 旭日图子元素设置最小角度minAngle后,所有子元素角度和大于父元素

0bscurus opened a new issue #10413: 旭日图子元素设置最小角度minAngle后,所有子元素角度和大于父元素
URL: https://github.com/apache/incubator-echarts/issues/10413
 
 
   ### Version
   4.0.0
   
   ### Steps to reproduce
   option = {
       silent: false,
       series: {
           radius: ['15%', '80%'],
           type: 'sunburst',
           minAngle:10,
           data: [
               {
                   name: 'name1',
                   children: [
                   {
                       name: 'children1',
                       value: 1999999960000,
                   }, {
                        name: 'children2',
                        value: 2000,
                        itemStyle: {
                           color: '#ddd'
                       }
                   },{
                       name: 'children3',
                       value: 2000,
                       itemStyle: {
                           color: '#F2A575'
                       }
                   }]
               }, {
               name:'name2',
               children: [{
                       name:'chil',
                       value: 1000000000000,
                   }]
           }],
         
       }
   };
   
   旭日图第二圈被设置了最小角度的两个子元素,并没有和第一圈其所属的父元素对应上。父元素name1的角度小于其所有的子元素角度之和。
   
   ### What is expected?
   希望父元素和子元素所占角度相同
   
   ### What is actually happening?
   父元素name1的角度小于其所有的子元素角度之和。
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org