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

useAutoresize throttle switch to requestAnimationFrame method #768

Open
1 task done
xstxhjh opened this issue Feb 29, 2024 · 2 comments
Open
1 task done

useAutoresize throttle switch to requestAnimationFrame method #768

xstxhjh opened this issue Feb 29, 2024 · 2 comments

Comments

@xstxhjh
Copy link

xstxhjh commented Feb 29, 2024

提前确认

  • 我可以确认这个新功能建议是提交给此 Vue 组件的,而不应该提交到 ECharts 项目本身。

新功能详情

changing the component size like this will be smoother.

@Justineo
Copy link
Member

Justineo commented Mar 1, 2024

This required the re-render of all charts on a same page within ~16ms. Do you have an actual use case?

@xstxhjh
Copy link
Author

xstxhjh commented Mar 3, 2024

This required the re-render of all charts on a same page within ~16ms. Do you have an actual use case?

My chart component will have some animation effects, gradually becoming higher or wider, which will appear a bit jerky at that time.

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

2 participants