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
fix(label): 处理venn图label遮挡问题 #2861
Conversation
🎊 PR Preview 6eea55a has been successfully built and deployed to https://antvis-G2Plot-preview-pr-2861.surge.sh?type=diff&date=2021-09-24 🕐 Build time: 122.063s 🤖 By surge-preview |
} | ||
row[PATH_FIELD] = path; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
row path 直接这么改?确定没问题?circle-path和intersection-path是一样的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const { x, y } = labelCfg.data; | ||
const { offsetX, offsetY } = labelCfg.customLabelInfo; | ||
return { | ||
content: labelCfg.content[index], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看起来只是复写了 getLabelPoint 方法,label 布局调整(自动隐藏或自动省略的布局会有吗)
ci 没过?检查下? |
嗯嗯 |
PR includes
Screenshot