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(interaction): 内置封装 brush 交互 #2719

Merged
merged 14 commits into from
Jul 24, 2021
Merged

feat(interaction): 内置封装 brush 交互 #2719

merged 14 commits into from
Jul 24, 2021

Conversation

visiky
Copy link
Member

@visiky visiky commented Jul 22, 2021

接入情况:

  • scatter
  • column
  • bar

特性支持:

  • brush mask 配置
  • brush reset button 配置

PR includes

  • fixed #0
  • add / modify test cases
  • documents, demos

Screenshot

Before After

@github-actions
Copy link
Contributor

github-actions bot commented Jul 22, 2021

🎊 PR Preview 5787eaa has been successfully built and deployed to https://antvis-G2Plot-preview-pr-2719.surge.sh?type=diff&date=2021-07-23

🕐 Build time: 90.232s

🤖 By surge-preview

@coveralls
Copy link

coveralls commented Jul 22, 2021

Pull Request Test Coverage Report for Build 1059765206

  • 37 of 37 (100.0%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.008%) to 95.747%

Totals Coverage Status
Change from base Build 1055008871: 0.008%
Covered Lines: 6303
Relevant Lines: 6414

💛 - Coveralls

@visiky visiky requested a review from hustcc July 22, 2021 14:54
@visiky visiky merged commit abc4584 into master Jul 24, 2021
@visiky visiky deleted the feat-brush branch July 24, 2021 01:10
action: ['brush-x:filter', 'brush-x:end', `${maskType}-mask:end`, `${maskType}-mask:hide`],
},
],
rollback: [{ trigger: 'dblclick', action: ['brush-x:reset'] }],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么这里要dbclick,不和brush展示一样的reset button,是有什么考量吗

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.

3 participants