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 in polar coordinate #4224

Closed
visiky opened this issue Oct 27, 2022 · 0 comments · Fixed by #4232
Closed

label in polar coordinate #4224

visiky opened this issue Oct 27, 2022 · 0 comments · Fixed by #4232
Labels

Comments

@visiky
Copy link
Member

visiky commented Oct 27, 2022

新增内容:

  • limitInShape 的 label transform
  • label autoRotate ? 自动旋转。polar 坐标系下标签自动沿着径向

使用方式:

.label({
    text: 'state',
    position: 'inside',
    fontSize: 10,
    transform: [{ type: 'limitInShape' }],
  });

预览:

image

@visiky visiky changed the title 增加limitInShape 的 label transform 增加 limitInShape 的 label transform Oct 27, 2022
@visiky visiky added the V5 label Oct 27, 2022
@visiky visiky changed the title 增加 limitInShape 的 label transform label in polar coordinate Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant