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显示异常,与图例显示不一致 #3813

Closed
mayiliang opened this issue Feb 17, 2022 · 1 comment
Closed

Tooltip显示异常,与图例显示不一致 #3813

mayiliang opened this issue Feb 17, 2022 · 1 comment
Assignees
Labels

Comments

@mayiliang
Copy link

复现过程

  1. 打开 https://g2.antv.vision/zh/examples/column/dodge#grouped
  2. 将【data】中的【London】全局替换为【London<a】
  3. 如截图中所展示的,图例显示为【London<a】,Tooltip显示为【London】

期望

Tooltip显示【London<a】

@mayiliang mayiliang changed the title Tooltip显示异常 Tooltip显示异常,与图例显示不一致 Feb 17, 2022
@ai-qing-hai
Copy link
Collaborator

@mayiliang
image
可以通过自定义转义达到修改效果, 因为 tooltip 会吧 name 直接放到 html中 而不是 context 中, 所以 <a 会引起问题。

@visiky visiky added the Tooltip label Jun 23, 2022
@hustcc hustcc closed this as completed Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants