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] 图例的正反选能力 #3736

Closed
hustcc opened this issue Dec 8, 2021 · 0 comments
Closed

[FEAT] 图例的正反选能力 #3736

hustcc opened this issue Dec 8, 2021 · 0 comments
Assignees

Comments

@hustcc
Copy link
Member

hustcc commented Dec 8, 2021

需求描述

image

如上图,在 hover 的时候,显示正选的 icon,点击之后,仅选中当前项,如果当前是选中的,那么就复原(全部都显)。

做法

  • 在 component 中的分类图例,加上相应的功能 ui,并额外增加开关配置,默认关闭(为了兼容)
  • 在 g2 中处理相关的交互逻辑
  • 发布版本

要求

  • 单元测试完整
  • 保证兼容,默认不开启
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants