-
Notifications
You must be signed in to change notification settings - Fork 605
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
feat: 对称条形图(Bi-directional) #1746
Conversation
😭 Deploy PR Preview e420761 failed. Build logs 🤖 By surge-preview |
This pull request introduces 1 alert when merging 898fa32 into f7febd6 - view on LGTM.com new alerts:
|
|
|
确认了一下,名字为 BidirectionalBar 吧!bidirectional-bar。 |
9e6430e
to
7085cf2
Compare
|
marginRatio 这个我看是分组的时候才有用,毕竟这个图形不适合分组吧? |
|
哦哦,对,只有分组才有 marginRatio 我疏忽了。设计中确实是有堆积的,现在通过拆分来分组出两组数据,也需要前置对数据进行过滤出两个选择维值,而且需要指定左边对应什么维值,右边对应什么维值。所以不如直接采用指标数组的方式去配置,这样不仅指定了顺序,也限制了个数,还可以分别配置 meta。 实际在我们 bi 中图形,也是配置的左右指标。 |
7085cf2
to
b1bb9d1
Compare
TODO:
|
Bidirectional options 定义,基本思路
具体实现
完整单测test
有些小问题 中间没想到怎么处理