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

refactor(funnel): annotation 位置添加center,支持在漏斗图中正常显示 #3611

Merged
merged 2 commits into from
Sep 10, 2021

Conversation

Aarebecca
Copy link
Contributor

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Description of change

漏斗图中annotation使用position: 'median' 来控制位置,当中位数不为0.5时,将会导致annotation位置偏移,因此提供了position: 'center' 选项

before:
image

after:
image

@hustcc hustcc merged commit 552500d into antvis:master Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants