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:34:39 UTC

[GitHub] [incubator-echarts] wewrt opened a new issue #10412: 树图 radial 径向布局 label的 rotate失效

wewrt opened a new issue #10412: 树图 radial 径向布局 label的 rotate失效
URL: https://github.com/apache/incubator-echarts/issues/10412
 
 
   ### Version
   4.1.0-release
   
   ### Reproduction link
   [https://gallery.echartsjs.com/editor.html?c=xES23yRUK3&v=2](https://gallery.echartsjs.com/editor.html?c=xES23yRUK3&v=2)
   
   ### Steps to reproduce
   ```JavaScript
   option = {
       title: {
           text: 'Tree Radial'
       },
       series: [{
           type: 'tree',
           data: [{
               "name": "电源线工程",
               "children": [{
                   "name": "法律法规",
                   "children": [{
                       "name": "关于进一步规范集体土地建设项目规划审批管理有关问题的通知",
                   }, {
                       "name": "市规划局关于印发《天津市建设工程规划许可证承诺审批和事中事后监管办法(试行)》的通知",
                   }, {
                       "name": "关于印发《市政工程规划建设管理工作规程》的通知",
                   }, {
                       "name": "关于落实《天津市城乡规划条例》做好城乡规划行政许可审批相关工作的通知",
                   }, {
                       "name": "市规划局关于线性市政类项目建设用地规划许可证承诺审批和事中事后监管办法的通知",
                   }]
               }]
           }],
           label: {
               // fontWeight: 'bold',
               rotate: 50
           },
           top: '18%',
           bottom: '14%',
           layout: 'radial',
           symbol: 'circle',
           expandAndCollapse: false,
           symbolSize: 30,
           lineStyle: {
               curveness: 0,
           },
       }]
   };
   ```
   
   ### What is expected?
   根节点只有一个二级子节点,二级子节点有多个三级子节点,根节点的lable和二级节点的lable在节点全部展开的情况下不会重叠
   
   ### What is actually happening?
   根节点只有一个二级子节点,二级子节点有多个三级子节点,根节点的lable和二级节点的lable在节点全部展开的情况下重叠
   
   <!-- 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