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

🐛[BUG] 多轴图动态改变 children 时 tooltip 显示混乱 #2495

Open
sakura-flutter opened this issue Apr 11, 2024 · 0 comments
Open

Comments

@sakura-flutter
Copy link

🐛 bug 描述 [详细地描述 bug,让大家都能理解]

多轴图动态改变 children 时 tooltip 显示混乱

📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题]

先点击按钮 1 ,此时 tooltip 中 people 会显示自定义的展示,没有问题

image

再点击按钮 2 ,tooltip 中 waiting 也会变成 people 一样的展示。

image

🏞 期望结果 [描述你原本期望看到的结果]

tooltip 正确显示对应轴的数据

💻 复现代码 [提供可复现的代码,仓库,或线上示例]

https://stackblitz.com/edit/react-41u5bg?file=index.js

© 版本信息

  • ant-design-charts 版本: [2.1.15]
  • 浏览器环境
  • 开发环境 [mac OS]
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