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(legend): 添加图例的正反选功能 #3756

Merged
merged 2 commits into from
Dec 29, 2021
Merged

feat(legend): 添加图例的正反选功能 #3756

merged 2 commits into from
Dec 29, 2021

Conversation

pearmini
Copy link
Member

@pearmini pearmini commented Dec 27, 2021

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
  • docs
Description of change

添加分类图例的正反选功能,参考 #3736

使用方式如下:

// 默认不开启
char.legend({
  // 开启并且设置样式
  radio: {
    fill: 'red',
    stroke: 'yellow'
  }
})
2021-12-28.17.58.06.mov

@github-actions
Copy link

github-actions bot commented Dec 27, 2021

🎊 PR Preview 2c92f5d has been successfully built and deployed to https://antvis-G2-preview-pr-3756.surge.sh?type=diff&date=2021-12-29

🕐 Build time: 92.289s

🤖 By Surge Ui Insight

@pearmini pearmini changed the title feat(legend): 添加图例的正反选功能(close: #3736) feat(legend): 添加图例的正反选功能 Dec 28, 2021
@visiky visiky merged commit 2c92f5d into master Dec 29, 2021
@visiky visiky deleted the feat/legend branch December 29, 2021 11:12
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.

None yet

2 participants