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颜色设置失效 #2724

Closed
1 task
Jerry-bbq opened this issue Aug 3, 2020 · 2 comments
Closed
1 task

矩形树图label颜色设置失效 #2724

Jerry-bbq opened this issue Aug 3, 2020 · 2 comments
Assignees
Labels

Comments

@Jerry-bbq
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

label: {
visible: true,
style: {
fontSize: "13",
fill: "#fff"
}
}

Environment Info
g2 4.0.14
System -
Browser -
@liuzhenying
Copy link
Member

看语法你使用是g2 plot v1 版本?

@liuzhenying
Copy link
Member

g2

.label('name', {
    style: {
      fill: "#f00"
    },
  });

g2 plot v2 是

  label: {
    style: {
      fill: '#f00'
    } 
  }

都是有效的
g2 plot v1 不再维护

@visiky visiky closed this as completed Feb 11, 2022
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

4 participants