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

tooltip 触发条件 #6044

Closed
YY88Xu opened this issue Jan 16, 2024 · 6 comments · Fixed by #6289
Closed

tooltip 触发条件 #6044

YY88Xu opened this issue Jan 16, 2024 · 6 comments · Fixed by #6289

Comments

@YY88Xu
Copy link

YY88Xu commented Jan 16, 2024

问题描述

https://echarts.apache.org/examples/zh/editor.html?c=bar-label-rotation
image
有没有echarts 类似的功能,就是点击的是空白的地方也会出现 tooltip,现在柱状图需要hover到柱子才能出现 tooltip

重现链接

No response

重现步骤

No response

预期行为

No response

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@YY88Xu
Copy link
Author

YY88Xu commented Jan 16, 2024

image https://g2.antv.antgroup.com/zh/examples/general/interval/#bar-basic-grouped

@pearmini
Copy link
Member

嗯嗯,这个目前需要优化,最快这个月底优化。

@Liugq5713
Copy link

嗯嗯,这个目前需要优化,最快这个月底优化。

优化完了吗 ? 怎么开启这个功能呢 ?

@CullenNg
Copy link

CullenNg commented May 6, 2024

坐等优化,目前我是另外设置一个透明的interval,层级为最底层,这样另辟蹊径也大致达到这个效果🤣

@Liugq5713
Copy link

坐等优化,目前我是另外设置一个透明的interval,层级为最底层,这样另辟蹊径也大致达到这个效果🤣

怎么做的呀, 我也设置了透明的 interval , 但是这个柱状图会收到legend点选的影响,用户点了legend之后就出现颜色了。。

@pearmini
Copy link
Member

@CullenNg @Liugq5713 @YY88Xu 这个 PR 已经优化了这个功能:#6289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants