antvis / G2

📊 The concise and progressive visualization grammar.

Home Page:https://g2.antv.antgroup.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

legend点击下方图例时图标和后面的关联文本的方法分开

qdyuua opened this issue · comments

问题描述

  1. 折线图的图例部分支持前面的图标和后面的关联文本部分的方法自定义
  2. 目前图表中,当点击某一个指标的图例时,会隐藏该项指标,展示其余的指标
  3. 希望增加一个当点击前面的图例项图标时隐藏该指标的(即跟目前的功能一样),但是 当点击后面的关联文本时可以只展示选中的这个指标,将其他的所有指标项隐藏
    legend

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response