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

ant-design-charts 2.xx有没有addAnnotations方法,不知道可不可以动态变化标注内容,因为环图中间文本会随时变化的👑 [需求] #2534

Open
khdjj opened this issue May 8, 2024 · 1 comment

Comments

@khdjj
Copy link

khdjj commented May 8, 2024

🥰 需求描述 [详细地描述需求,让大家都能理解]

ant-design-charts 2.xx有没有addAnnotations方法,不知道可不可以动态变化标注内容,因为环图中间文本会随时变化的

🧐 解决方案 [如果你有解决方案,在这里清晰地阐述]

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

@khdjj
Copy link
Author

khdjj commented May 8, 2024

目前是监听 legend:highlight的事件并通过chart.update(newOptions)和render()来更改整体配置,但是每次render的时候,我的interaction:{ poptip:true}没有办法实现了,因为我每次都会重绘图表

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