-
Notifications
You must be signed in to change notification settings - Fork 601
feat: multi layer 支持配置 annotations & label #1913
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
Conversation
🎊 PR Preview e21a618 has been successfully built and deployed to https://antvis-G2Plot-preview-pr-1913.surge.sh 🕐 Build time: 580.704s 🤖 By surge-preview |
Pull Request Test Coverage Report for Build 362696299
💛 - Coveralls |
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.
There are accessibility issues in these changes.
c3c1113
to
e21a618
Compare
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.
👏 You fixed the issue(s)! Great work.
* refactor(docs): 饼图 & 雷达图 & 瀑布图走查 * feat(multi-layer): 实验室多图层,允许每个图层配置 annotations & 每个图层的每个geometry配置label * fix(geometry-adaptor/label): geometry label 通道与子弹图label通道的适配 * feat(geometry-adaptor/label): label 通道支持透传 fields 映射 * fix(geometry-adaptor): geometry adaptor 的 size 通道怪怪的 * feat(demo): 添加一个动态的多view组合 demo
feat
label
API,label 通道作用于几何对象上;① multi-views 中每个图层的每个geometry需要支持独立配置label;
② 另外plots中的使用 geometry 通道的之后,会再次使用 label 通道,故会直接覆盖,不产生影响;
③ 但后续可以考虑直接使用 geometry 通道来完成 label 通道,以及可以满足 @zqLu 提到的 line plots 的 point 是否支持配置 label
背景

🧪 实验室实践中发现的问题
checklist