Ovilia commented on PR #18715:
URL: https://github.com/apache/echarts/pull/18715#issuecomment-1588626789

   If you want to provide the position, I think it may be a better idea to be 
the position of the mouse position relative to the canvas top-left corder. Your 
current code seems to return the `x` and `y` of the interacted element, which 
may not be necessarily be the top-left of the interacted element because it's 
used for transforming.
   
   Element states are defined in 
https://github.com/apache/echarts/blob/master/src/util/types.ts#L650 
   
   Please also simplify your test case data and remove the unnecessary data.


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