MrZhouZh commented on issue #20963:
URL: https://github.com/apache/echarts/issues/20963#issuecomment-2870983021

   > > 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?
   > 
   > not-a-bug. Here is how to recalculate position after resize - 
[Demo](https://echarts.apache.org/examples/en/editor.html?helgasoft=graphic+resize+drag&code=PTAEGMHsDsBcCcCWAjArrRNTIJ6gBYCmANgOYCGAzpAGawB0UAtqAFBTSWyiLSKwB1RABNY-UAF5QADgAMsgDQ8-sABKFEpfNykA2eQG5WrSAAcMWKQG9WoUBljFCALlBXYhAB6xXAcniElIgAXoQQ-OTwsL5KlKjIHt5-wvDkpKA0iJ6Ewth4qKamhPCgTnQQkPDQxb4Avgq2oJ4Agp6IlK42dnawOEV-4OQepJU4MY12wkPkrgDavgCyMDGgvgAqqIQrvgI522v4qNsAYkjbAMpDF6jQvgC6jfWNOK3tnROglINOrgibsaZiPwADK8FxuSj4SAAd2cNHIxEohFqjwadiRSECcw-XW6k2mcwAjABWRSgABMAGYyeTyQAWJTkwnSJSEynE1l0gDsjP0dzRePsfXBviB1RWHzswWcAFpCXYQPZIKAANaEQimUCkVKmfCIcCgSAAN2KpTBHxRdn5jW15F1-veeJIhCYhDgHVAs0lbm9PWFfgC4GiAsFnwi_TcoGhIjErkJJKURE02jj0lAT1Ddk8rlp5JDgpwcf0-bx0tAZIVYDQpFciBooGCAD5ZKBA9wRoFDSaSolYL7Pr0fj7M91e35MtlcgAyUApNIUZBOcYjuyZYjEPwjYjCZcrmgwWDnELgwl0_sZzNz0gLod_Qgl7owK9u4QACkKAEphyuQBxqE56GISBSFfAADJ9UlIF9nGcUClE_IwVwqThuHAVB4CEURxCkJgcAAYQiKJ6CgwQY3wV8P0Qlc_1Q9D1GTHRQFwgjIgYEj6K0WAKKokcVU8SRQEKehaBoJFYAADVAMA0IwsieMzFU8CkISRLEgBN
 
KSIDojROPkvFLUFC88VxUNegjXxe13UNs1AeNCQfOxCwpWkHIHHAhxMzMx1WJhjV4UgrMzNcN1WABiGh5EC0N9zgI9QjjM8RwM_SPgeOwUVqIwjUiUASBbKQzAsaBiJ1PVwHoZ1XXdWZZDuIw-IEwrMGK217XKyq3VgSgarueh-LAXh-EwsR6qUw1zGakq7TKiqnCqrqevoPABpUDjtCMVgaBuINmoIchoGEJwACVAmPCjvxorTZKwgTmMItjCFIrDuMaS6ZLWxi7tY4jHo-l7GjyvqBIagAqK7hvwKjAbGxTQDB96dPWxovqIsSAHkJpgV8rC1UqHVy4gW1qSjWBRMS1kQV1IHQV9QHOiRGz2g7jtO0IKKUSlOZJ6MDphehyGEYQAFETTgUEuDdYpX38VmtkTfbDsIE6glCSigA)
 📌 please close issue if problem solved.
   
   Thanks you for your answer. But I found that the offset position using 
type='text' in the example still has problems. Is it only possible to use 
type='rect'?


-- 
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]

Reply via email to