antvis/G2

The issue has been closed
[v5] 更改数据重新渲染后坐标轴的labelTransforms转换错乱 #4723
yshenhua posted onGitHub
问题复现条件:为坐标轴设置labelTransforms: [{ type: "hide", keepHeader: true, keepTail: true }]
,更改数据后重新渲染。
Demo:https://codesandbox.io/s/exciting-ptolemy-d1ib2g?file=/src/index.js:255-270
首次渲染以及不更改x轴数据重新渲染符合预期:
但是更改x轴数据重新渲染后,x轴的labelTransforms转换就出现错乱了: