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

[Feature] [3.x] stroke of labels should be the same with legend when set to null. 标签描边颜色支持跟随图例 #985

Closed
da730 opened this issue Sep 18, 2023 · 0 comments · Fixed by #1032
Assignees
Labels
bp enhancement New feature or request
Milestone

Comments

@da730
Copy link
Contributor

da730 commented Sep 18, 2023

What problem does this feature solve?

现在的label.style.stroke应该与.label.style.fill对齐,当设置为null时,描边颜色跟随图例。否则无法实现这种效果:
img_v2_e60744ce-0c28-47a5-9c57-7d79c17761eg

What does the proposed API look like?

label: {
style: {
fill: '#fff',
stroke: null
}
}

@da730 da730 added bp enhancement New feature or request labels Sep 18, 2023
@da730 da730 added this to the v1.4.0 milestone Sep 18, 2023
@da730 da730 changed the title [Feature] stroke of labels should be the same with legend when set to null. 标签描边颜色支持跟随图例 [Feature] [3.x] stroke of labels should be the same with legend when set to null. 标签描边颜色支持跟随图例 Sep 18, 2023
@kkxxkk2019 kkxxkk2019 assigned xiaoluoHe and unassigned kkxxkk2019 Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bp enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants