echarts-bot[bot] commented on issue #19303: URL: https://github.com/apache/echarts/issues/19303#issuecomment-1811969472
@xiaopangshushu 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] On the mobile side, the default line chart is a size, and it is rotated 90 degrees to become a b area. The line chart trigger event area is still the a size position and direction, not the b size after rotation. **BODY** ### Version ^4.1.0 ### Link to Minimal Reproduction https://echarts.apache.org/v4/examples/zh/editor.html?c=area-stack ### Steps to Reproduce Even basic line charts or stacked charts can be reproduced. The project is ^4.1.0 or above, vue3, uni-app ### Current Behavior vue3 environment, uni-app component environment, the normal situation is that the mobile phone is in the vertical state, the echart width is the mobile phone width, the operation display is normal, but in v-show, other elements of the page are hidden, rotate chart 90deg, delay manual call echarts.resize( ) method, echart's line chart can be displayed normally, but the event trigger area seems to be the trigger area when it was not rotated before. I do not know how to solve this? <img width="260" alt="image" src="https://github.com/apache/echarts/assets/49330640/2e62a749-cd17-4b16-b325-a42553057616"> As shown in the picture above, it is part of the curve after rotation. The red color is the size of the normal curve. 1. Currently, sliding left and right in the red area triggers events normally, but in places other than red, only echarts.getZr() can be triggered, and cannot be triggered at other times. 2 Moreover, the direction of the red area triggering event is also problematic, it is the default direction. ### Expected Behavior It is hoped that before rotation, the event will be triggered normally from left to right, and after rotation, the event will be triggered normally from top to bottom. ### 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]
