We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
G2/src/geometry/label/layout/pie/outer.ts
Line 165 in d0a73c2
应该取整个 labelShape 包围盒的高度,同时考虑下可设置 label 与 label 之间的 margin,饼图其他布局也有类似的问题。
The text was updated successfully, but these errors were encountered:
换行的时候 将labelHeight设置为更大,如 18*2=36 内部从性能考虑 暂不计算
Sorry, something went wrong.
恩,临时方案我了解,不过想请教下,从性能考虑如果采用包围盒折损多少,性能的瓶颈点在这里吗?
也不算临时方案把,labelHeight 之前的定义就是整个 label 的高度。 大数据量遍历计算包围盒,会增加多少折损时间,暂时没去衡量,后面可以看时间处理下
visiky
No branches or pull requests
G2/src/geometry/label/layout/pie/outer.ts
Line 165 in d0a73c2
应该取整个 labelShape 包围盒的高度,同时考虑下可设置 label 与 label 之间的 margin,饼图其他布局也有类似的问题。
The text was updated successfully, but these errors were encountered: