unaipme commented on issue #21245: URL: https://github.com/apache/echarts/issues/21245#issuecomment-3489525264
Hi! Had something very similar happen to me. [Here's a minimal reproduction](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoW7YCIA2BTA5rtACaYBcyaG1mARsGGMALbmwCsADFegL4A0PLAA8AgsIgBnNqmo0wATxC42mSMxWC5GTMwjQ2ARgDsANgBM5gCwAOG-wCcN61u1ZmAQ2FGzl9odNHTlMAZlc-cKwFcSkZIXklFQpMADcPbABXFSEBIUxiDzAPAC1gFjYAbXiMWTcE5VVJbAhiXAAnTEi6zAAzCGwwdoBZYFbVAHdcDwBrADF-wY6ut0wxCUkASRJcbwoqurrOZYPYQ2rtAF1juToGJlYKQ3Zz2F4hK7zJdohcaT2X2onTDQDwaVQAZW-v1OnReNAKRUqcLc-xOB0w5k45nYAFpDIYcZwrAAVTgOMghKxkQwOAB0zisxVhaIOR2RJ24LOoHy5GAA9HzYABVaAAYxYGmgYFgYAAFlJYB42m0PApYMAMmAyOy5ALYKjeXqaJjsXiCUTSeTKWRMfTrEzrnUjRg2bz0M70Jy3XqLjqeWi1IlVM1oNk6m9uSheEA). In this case the datazoom is shown misplaced but at least it is shown in the bottom, where I configured it to be. I found out about two weird cases where this bug doesn't happen: 1. If you uncomment the additional data point I left on the reproduction, the data zoom goes back to its original position. However, if you change the time on the second data point to be the same as in the first data point, the datazoom again gets misplaced. 2. If you add another series before the one causing the issue, even if it does not have any data, the datazoom works. [For example](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoW7YCIA2BTA5rtACaYBcyaG1mARsGGMALbmwCsADFegL4A0PLAA8AgsIgBnNqmo0wATxC42mSMxWC5GTMwjQ2ARgDsANgBM5gCwAOG-wCcN61u1ZmAQ2FGzl9odNHTlMAZlc-cKwFcSkZIXklFQpMADcPbABXFSEBIUxiDzAPAC1gFjYAbXiMWTcE5VVJbAhiXAAnTEi6zAAzCGwwdoBZYFbVAHdcDwBrADF-wY6ut0wxCUkASRJcbwoqurrOZYPYQ2rtAF1juToGJlYKQ3Zz2F4hK7zJdohcaT2X2p1ApFPYfE6KZTJZrQbJ1XJ1QEHTDQDwaVQAZW-v1OnReNGBHkqeLc-xOSPMnHM7AAtIZDNTOFYACqcBxkEJWMiGBwAOmcVmKuLJByOxJO3GF1DBkvQAHpZbAAKrQADGLA00DAsDAAAspLAPG02h4FLBgBkwGQxXJ5bBSTLbTQKVTafTGSy2RyyBS-dZBdc6o6MKKZXKFdQJaHbRdrdKTmpEqpobC3G8pSheEA): `{ type: 'line', data: [] }`. Hope this sheds a light on the original issue :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
