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

当数据倍数差异过大时,环图的效果看起来不是特别明显,支持最小角度设置吗 #3729

Closed
curryz opened this issue Nov 29, 2021 · 3 comments

Comments

@curryz
Copy link

curryz commented Nov 29, 2021

当数据倍数差异过大时,环图的效果看起来不是特别明显,支持最小角度设置吗

@hustcc
Copy link
Member

hustcc commented Nov 29, 2021

当前不支持,这个很难在底层支持,因为从数据表达正确上来看,绘制出来客观就是这样的。

建议做法:业务代码中检测如果数据量差异大的时候,可以修改一个数据,然后绘制结束之后,用 formatter 把 label、tooltip 等显示数据的地方格式化成真实的数据。

@curryz
Copy link
Author

curryz commented Dec 1, 2021

好的,了解了,谢谢。不过,看echarts里面提供了最小的角度设置,先用它的吧

@hustcc
Copy link
Member

hustcc commented Jan 7, 2022

我们在新版本 5.0 中尝试考虑进去吧~

@hustcc hustcc closed this as completed Jan 7, 2022
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