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

柱状图数值差距过大导致交互难度较大,是否可以鼠标移入当前行时触发交互 #6582

Open
cheared opened this issue Jan 9, 2025 · 2 comments

Comments

@cheared
Copy link

cheared commented Jan 9, 2025

问题描述

Snipaste_2025-01-09_15-05-05
交互可触发区域太小,导致触发困难

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [Windows]
  • 网页浏览器: [Google Chrome]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

Copy link

您提到的问题是关于柱状图中数值差距过大导致交互区域太小,进而影响交互体验。为了改善这种情况,您可以考虑以下几种方法:

  1. 增加交互区域:可以通过增加柱状图的宽度或增加鼠标悬停的触发区域来改善交互体验。这可以通过调整图表的配置选项来实现。

  2. 使用工具提示:在鼠标悬停时显示工具提示,以便用户可以更容易地与图表进行交互。

  3. 调整比例:如果数值差距过大,可以考虑使用对数刻度或其他比例调整方法,使得柱状图的视觉效果更加均衡。

  4. 自定义交互事件:可以通过编程自定义鼠标移入事件,以便在鼠标移入当前行时触发特定的交互。

如果您需要更具体的代码示例或帮助,请提供更多的上下文信息或代码片段,以便我能更好地为您提供支持。

如果您希望将此问题提交为功能请求或错误报告,请告知我,我可以协助您进行提交。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@cheared
Copy link
Author

cheared commented Jan 9, 2025

interaction是否还支持'active-region',若不支持有什么方法可以实现下图效果,鼠标移入当前列高亮背景,无需移入柱状图区域
QQ20250109-152126

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

1 participant