You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "echarts-bot[bot] (via GitHub)" <gi...@apache.org> on 2023/06/30 08:25:48 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #18831: [Bug] 通过拖拽功能,我修改了横坐标或者纵坐标标题的位置,但是点击事件失效了,有大佬知道嘛

echarts-bot[bot] commented on issue #18831:
URL: https://github.com/apache/echarts/issues/18831#issuecomment-1614311313

   @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] Through the drag and drop function, I changed the position of the abscissa or ordinate title, but the click event failed, and the big guy knows it
   
   **BODY**
   
   ### Version
   
   5.0
   
   ### Link to Minimal Reproduction
   
   none
   
   ### Steps to Reproduce
   
   //I modified the position of the abscissa title in svg, and the click event is invalid
   if (clickType === 'font') {
   myChart.on('click', params => {
   console.log(params, 'paramsparams'); // cannot be executed here
   onClick(params);
   });
   }
   
   ### Current Behavior
   
   //I modified the position of the abscissa title in svg, and the click event is invalid
   if (clickType === 'font') {
   myChart.on('click', params => {
   console.log(params, 'paramsparams'); // cannot be executed here
   onClick(params);
   });
   }
   
   ### Expected Behavior
   
   //I modified the position of the abscissa title in svg, and the click event is invalid
   if (clickType === 'font') {
   myChart.on('click', params => {
   console.log(params, 'paramsparams'); // cannot be executed here
   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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org