echarts-bot[bot] commented on issue #18833: URL: https://github.com/apache/echarts/issues/18833#issuecomment-1614452771
@LBJDJW It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 <details><summary><b>TRANSLATED</b></summary><br> **TITLE** [Bug] Guys, in echarts, when I modify the horizontal and vertical coordinate title (drag function), I modified the transform in the dom, but the click area of the click thing is not updated. How to update the click area in real time? Have you met the boss? **BODY** ### Version 5.0 ### Link to Minimal Reproduction none ### Steps to Reproduce  ### Current Behavior if (clickType === 'font') { myChart.on('click', params => { var event = params.event; // get the event object var target = event.target; // get the clicked target element var x = event.clientX; // Get the abscissa of the click event on the page var y = event.clientY; // Get the vertical coordinate of the click event on the page console.log('Click area:', target); console. log(x, y, 7777); onClick(params); }); } ### Expected Behavior if (clickType === 'font') { myChart.on('click', params => { var event = params.event; // get the event object var target = event.target; // get the clicked target element var x = event.clientX; // Get the abscissa of the click event on the page var y = event.clientY; // Get the vertical coordinate of the click event on the page console.log('Click area:', target); console. log(x, y, 7777); onClick(params); }); } ### Environment ```markdown - OS: -Browser: - Framework: ``` ### Any additional comments? _No response_ </details> -- 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]
