MrZhouZh opened a new issue, #20963: URL: https://github.com/apache/echarts/issues/20963
### Version 5.6.0 ### Link to Minimal Reproduction https://echarts.apache.org/examples/zh/editor.html?c=line-simple&code=PTAEhezQjY0LjlGV9RZJVAYwBYEMBOAXUhO7UBZqgIW6C92oBtZAdAFBID2AdgM44CWdzWA6swCZYqgBeUAFYADAGYANKFbsAEgFNmAcxQ4hARg3iATAG5KlADYKcyjGgAOKZkgaDQAbUqhQAbxevQWAJ6WFAFygAORYCgAeWMGSnq7hQdpSsaA-QToA7MIxXqAAXkGi2V5MPiZBHjmuYZFBwdo62tHJrgBmzEZGtQDELaKiTZWgLfRYAMrMuYGgGgAsRa4AvkULlAC6hjSWWMz0DhWg4QCC4cwM5cm-_rVIaGHKNBg-A17ct2hBjsEAsvTRIQAqAFcFH9ghwFNxQf8UIDQQAxDDMUGjW7IwF0YLrRZFHzHU7nHKXKbBABuaCMwOCniWngYCkRCjOTmS-xyryw7ycGjE0h04kKoB0Ojmgo0AA5pNostMZuleQA2USreZeIm1IysEHJFauZWecxWGxIAleBQmAC2CjoWCZBustgY5HNVgAFC7lABKQQAPnczVAGFMgIwdD9g1c5EjyhVbIsymUaAARmVvBhgTGvPRuHGrdwXZZMGhzQwvazw7RGDQTOQjDRlC6AAZZnN0bgBAIN6QFizFj0GcOgHWVIeLD3LSgLAyUECUFropDbXZoV5bAAKNFYWBdDxUrAAGtId8pWFxeChpEhg4Hrae-KXPIGsMHQ0f96AwK-6Lf-AAqZBXq1OB4PgDBWadgFnedF1DdBWxMAAlRkJgUfNC17MNkHoJh_wwb8HHNHwAGF0GwchlFMb8XT7TwK2wy8MEUFQ1HwoiSKwMjTEY1Qt2o1xaJwT8AHkth2UMhAI4jMHY8isGE6CqP7TDGBwOgFAAdwAcQse0kAcISRPoMjtKNJ1XXdL0BF9MtH2fUBlHIM0FEta1HWdSw3UciyrP9fjQFUtS9wcZc rCwddNxdRzyHCaRZCAs8L2Db9eMqXz_IATSCldQo3a0IurHwYrYLAuLUBKGKUbjkpyWiqwUGs60bfytMNWx207dwDiCSLor89TAoWD1_W6hx_L3RSckinwRvUtLxq8GyQ1ARy5oG6lBr4rDavq-sG1g7gEKQyY2ukMtuyLBgVXo79LuDEqsBVfToJVJrjNsNbFIktjyDpWSDLoF0yztI0ghelqkGWQawLU1huBoNTyGXbgAFESUAgAZU4wlUjAXWCQMGGQv49oOgnJj7IA ### Steps to Reproduce 1. Set fixed x and y coordinates for graphic.elements-text during initialization. 2. The coordinates will shift after window resize. Initialization:  After resize:  ### Current Behavior Use the graphic api to implement the annotation function, and update the coordinates after dragging the text graphic element. When I change the width and height of the graphic container, the coordinates points cannot be correctly adapted. how should i map them to the correct points? ### Expected Behavior graphic.elements-text coordinates adapt to different sized graphic containers.  ### Environment ```markdown - OS: MacOs 13.4 - Browser: Chrome 135.0.7049.115 - Framework: Pure JavaScript ``` ### Any additional comments? _No response_ -- 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]
