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

test(scatter-legend): 增加散点图图例用例(shapeLegend、sizeLegend) #2446

Merged
merged 3 commits into from
Mar 22, 2021

Conversation

elvira1112
Copy link
Contributor

PR includes

  • fixed #0
  • add / modify test cases

Screenshot

Before After

@visiky visiky merged commit b053f0b into antvis:scatter-legend Mar 22, 2021
visiky added a commit that referenced this pull request Mar 22, 2021
* feat(scatter): 散点图支持配置 shapeLegend & sizeLegend

* test(scatter-legend): 增加散点图图例用例(shapeLegend、sizeLegend)

Co-authored-by: visiky <736929286@qq.com>
Co-authored-by: elvira.zy <elvira.zy@alibaba-inc.com>
hustcc pushed a commit that referenced this pull request Mar 23, 2021
* feat(scatter): 散点图支持color和shape同时映射图例字段 & 添加单测

* feat(scatter): 散点图支持配置 shapeLegend & sizeLegend

* test(scatter-legend): 增加散点图图例用例(shapeLegend、sizeLegend) (#2446)

* feat(scatter): 散点图支持配置 shapeLegend & sizeLegend

* test(scatter-legend): 增加散点图图例用例(shapeLegend、sizeLegend)

Co-authored-by: visiky <736929286@qq.com>
Co-authored-by: elvira.zy <elvira.zy@alibaba-inc.com>

* fix(scatter): 优化散点图图例逻辑

默认配置 legend 时,展示 color 图例和 shape 图例
当 shapeLegend 为 false,强制关闭 shape 图例
shape 为 undefined 时,默认不会展示 shape 图例

* docs(scatter-legend): 散点图图例文档

* fix: 修改 cr  建议

* fix: cr 建议

Co-authored-by: elvira1112 <ranxi1112@gmail.com>
Co-authored-by: elvira.zy <elvira.zy@alibaba-inc.com>
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