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] 更改数据重新渲染后坐标轴的labelTransforms转换错乱 #4723

Closed
yshenhua opened this issue Mar 3, 2023 · 1 comment
Closed
Labels

Comments

@yshenhua
Copy link

yshenhua commented Mar 3, 2023

问题复现条件:为坐标轴设置labelTransforms: [{ type: "hide", keepHeader: true, keepTail: true }],更改数据后重新渲染。

Demo:https://codesandbox.io/s/exciting-ptolemy-d1ib2g?file=/src/index.js:255-270

首次渲染以及不更改x轴数据重新渲染符合预期:

Snipaste_2023-03-03_12-50-16

但是更改x轴数据重新渲染后,x轴的labelTransforms转换就出现错乱了:

Snipaste_2023-03-03_12-51-17

@Aarebecca
Copy link
Contributor

5.0.0-rc.1 以上版本已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants