leteu commented on issue #18472:
URL: https://github.com/apache/echarts/issues/18472#issuecomment-1495471209

   ```js
   const transform = {
         scale: 1,
         transformX: 0,
         transformY: 0,
       }
   
       if (target.parent.transform) {
         ;[scale, , , , transformX, transformY] = target.parent.transform
       }
   
       const rect = target._rect
       const width = rect.width * scale
       const height = rect.height * scale
       const x = rect.x * scale + transformX
       const y = rect.y * scale + transformY
   ```


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