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

【柱状图】数据量500+,图形渲染体验不佳 #3819

Closed
May-yfm opened this issue Mar 1, 2022 · 2 comments
Closed

【柱状图】数据量500+,图形渲染体验不佳 #3819

May-yfm opened this issue Mar 1, 2022 · 2 comments

Comments

@May-yfm
Copy link

May-yfm commented Mar 1, 2022

01

02

  1. 业务场景:数据量超过500,给图形做了一个数量筛选器,当选择“全部”时,展示全部数据图形且水平方向加了滚动条。
  2. 问题:先所有重叠显示在一起,再一闪而过(偶发卡顿,偶发)过渡到滚动条模式,体验不佳。
    补充:图形柱子上方加了label标注,图1中的黑色部分就是文字堆叠在一起的效果。
  3. 复现https://g2.antv.vision/zh/examples/column/basic#basic
    官网例子修改data数据到500+,添加滚动条,柱子上方加label, 执行代码,问题如图
@May-yfm
Copy link
Author

May-yfm commented Mar 1, 2022

  1. 期待:优化

@visiky
Copy link
Member

visiky commented Mar 8, 2022

感谢反馈,查到原因是:目前的逻辑是先展示所有,然后通过 slider 来进行数据过滤。暂时没有特别好的办法解决,我们会在 G2 5.0 中考虑进去。

@hustcc hustcc closed this as completed Jun 22, 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

3 participants