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

feat(venn): 韦恩图颜色回调重构 #2909

Merged
merged 3 commits into from
Oct 14, 2021
Merged

feat(venn): 韦恩图颜色回调重构 #2909

merged 3 commits into from
Oct 14, 2021

Conversation

visiky
Copy link
Member

@visiky visiky commented Oct 11, 2021

PR includes

  1. 修复 color 设置回调,导致图例颜色不正确
  2. color 回调参数,增加 defaultColor 默认色. color: (datum, defaultColor) => defaultColor
  3. 完善韦恩图文档 & 增加 demo

Screenshot

Before After
image image

1. 修复 color 设置回调,导致图例颜色不正确
2. color 回调参数,增加 defaultColor 默认色
3. 完善韦恩图文档 & 增加 demo
@github-actions
Copy link
Contributor

github-actions bot commented Oct 11, 2021

🎊 PR Preview 47ea499 has been successfully built and deployed to https://antvis-G2Plot-preview-pr-2909.surge.sh?type=diff&date=2021-10-11

🕐 Build time: 120.167s

🤖 By surge-preview

@visiky visiky requested a review from hustcc October 11, 2021 08:38
@coveralls
Copy link

coveralls commented Oct 11, 2021

Pull Request Test Coverage Report for Build 1328169732

  • 13 of 13 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.005%) to 95.631%

Totals Coverage Status
Change from base Build 1327649246: -0.005%
Covered Lines: 6825
Relevant Lines: 6947

💛 - Coveralls

@visiky visiky merged commit c369496 into master Oct 14, 2021
@visiky visiky deleted the venn-demo branch October 14, 2021 08:16
visiky added a commit that referenced this pull request Oct 14, 2021
* feat(venn): 韦恩图颜色回调重构

1. 修复 color 设置回调,导致图例颜色不正确
2. color 回调参数,增加 defaultColor 默认色
3. 完善韦恩图文档 & 增加 demo

* test(venn): 韦恩图单测

fix: #2906

* test(venn): 添加韦恩图 color 单测
visiky added a commit that referenced this pull request Oct 15, 2021
* feat(venn): 韦恩图颜色回调重构

1. 修复 color 设置回调,导致图例颜色不正确
2. color 回调参数,增加 defaultColor 默认色
3. 完善韦恩图文档 & 增加 demo

* test(venn): 韦恩图单测

fix: #2906

* test(venn): 添加韦恩图 color 单测
@visiky visiky mentioned this pull request Oct 15, 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.

🐛 [BUG] color mapping: 通过回调设置颜色之后,图例颜色不正确
3 participants