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 问题 #2759

Open
renny-ren opened this issue Oct 31, 2024 · 0 comments
Open

🧐[问题]环图 Tooltip 问题 #2759

renny-ren opened this issue Oct 31, 2024 · 0 comments

Comments

@renny-ren
Copy link

renny-ren commented Oct 31, 2024

🧐 问题描述 [详细地描述问题,让大家都能理解]

三个疑问:

  1. 如图一,为什么环图中间文字的样式代码会显示到 tooltip 上?不太清楚这个是配置问题还是 bug?如何能取消中心文字的tooltip?
  2. 如图二,怎么修改每个片段的 tooltip? 我想改为图例上的名字(按道理这个应该是默认值吧?)
    https://ant-design-charts.antgroup.com/options/plots/component/tooltip
    tooltip 这个文档看了,实在不清楚怎么才能改掉这个 "value",从 data.type 里面取值
  3. 如图三,点击图例,环图中间的文字就会消失且回不来了,这是 bug 吗

💻 示例代码 [如果有必要,展示代码,线上示例,或仓库]

🚑 其他信息 [如截图等其他信息可以贴在这里]

图一:
image

图二:
image

图三:
image

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