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

【V5】x轴加scrollbar拖动后label文字位置更新问题 #5235

Closed
dechenwj opened this issue Jun 26, 2023 · 1 comment · Fixed by #5310
Closed

【V5】x轴加scrollbar拖动后label文字位置更新问题 #5235

dechenwj opened this issue Jun 26, 2023 · 1 comment · Fixed by #5310
Labels

Comments

@dechenwj
Copy link

折线图和面积图都存在这个问题 拖动后label会直接堆叠在x轴初始位置
image
尝试在label中使用transform转换 overflowHide/overlapDodgeY/overlapHide都不能解决这个问题;
使用overflowHide时拖动label会消失;overlapDodgeY文字堆叠时不再重叠;overlapHide缓慢拖动时除了第一个label还在原地 其他看起来正常 但稍微快点效果就如下图所示:

image
求助下有没有什么解决办法

@pearmini
Copy link
Member

pearmini commented Jul 13, 2023

这个应该是 x 轴的数据是离散的,导致 filter 的时候没有把溢出的 label 过滤掉,这个我修复一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants