antvis/G2

Do you want to work on this issue?

You can request for a bounty in order to promote it!

双轴图 tooltip行为不一致 #6041

Jungzl posted onGitHub

问题描述

双轴图由分组柱状图和分组折线图两部分组成,当柱状图和折线图的分类数目一致时,tooltip的item会被覆盖/重复

重现链接

https://codesandbox.io/p/sandbox/frosty-fog-xsnnrf?file=%2Findex.ts%3A21%2C1

重现步骤

  1. 观察tooltip
  2. 将柱图数据注释部分取消后再次运行
  3. 再次观察tooltip

预期行为

期望看到tooltip展示与数据无关的一致性行为

平台

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

屏幕截图或视频(可选)

分组数目相同时,如都为2种时 image 分组数目不相同时,如一个是2种,另一个是3种 image

补充说明(可选)

No response


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests