Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label rotation of radial tree not work #10412

Closed
wang-baojin opened this issue May 8, 2019 · 3 comments
Closed

Label rotation of radial tree not work #10412

wang-baojin opened this issue May 8, 2019 · 3 comments
Assignees
Labels
Milestone

Comments

@wang-baojin
Copy link

Version

4.1.0-release

Reproduction link

https://gallery.echartsjs.com/editor.html?c=xES23yRUK3&v=2

Steps to reproduce

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在节点全部展开的情况下重叠

@echarts-bot
Copy link

echarts-bot bot commented May 8, 2019

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug pending We are not sure about whether this is a bug/new feature. waiting-for-help labels May 8, 2019
@wang-baojin wang-baojin changed the title 树图 radial 径向布局 label的 rotate失效 树图 radial 径向布局 label的 rotate配置失效 May 8, 2019
@deqingli deqingli removed pending We are not sure about whether this is a bug/new feature. waiting-for-help labels May 15, 2019
@deqingli deqingli added this to the 4.5.0 milestone Sep 5, 2019
@pissang pissang changed the title 树图 radial 径向布局 label的 rotate配置失效 Label rotation of radial tree not work Sep 23, 2019
deqingli added a commit that referenced this issue Oct 22, 2019
@deqingli
Copy link
Member

#8559

@deqingli
Copy link
Member

#7471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants