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/02/15 02:58:31 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #18273: [Bug] 为什么把echarts的实例直接赋值给vue3的响应式对象,然后渲染参数,柱状图的tooptip设置了trigger:axis,会不显示tooltip浮层,而把echarts实例对象直接赋值给变量,用变量渲染options后再赋值给响应式对象就没问题。

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

   @zy-smile 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] Why assign the echarts instance directly to the responsive object of vue3, and then render the parameters, the tooptip of the histogram is set to trigger: axis, the tooltip floating layer will not be displayed, and the echarts instance object is directly assigned to the variable, using the variable It is no problem to render options and assign them to responsive objects.
   
   **BODY**
   
   ### Version
   
   4.9.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   [Bug] Why assign the echarts instance directly to the responsive object of vue3, and then render the parameters, the tooptip of the histogram is set to trigger: axis, the tooltip floating layer will not be displayed, and the echarts instance object is directly assigned to the variable, using the variable It is no problem to render options and assign them to responsive objects.
   
   ### Current Behavior
   
   [Bug] Why assign the echarts instance directly to the responsive object of vue3, and then render the parameters, the tooptip of the histogram is set to trigger: axis, the tooltip floating layer will not be displayed, and the echarts instance object is directly assigned to the variable, using the variable It is no problem to render options and assign them to responsive objects.
   
   ### Expected Behavior
   
   [Bug] Why assign the echarts instance directly to the responsive object of vue3, and then render the parameters, the tooptip of the histogram is set to trigger: axis, the tooltip floating layer will not be displayed, and the echarts instance object is directly assigned to the variable, using the variable It is no problem to render options and assign them to responsive objects.
   
   ### Environment
   
   ```markdown
   - OS:
   -Browser: chrome
   - Framework: Vue3
   ```
   
   
   ### Any additional comments?
   
   [Bug] Why assign the echarts instance directly to the responsive object of vue3, and then render the parameters, the tooptip of the histogram is set to trigger: axis, the tooltip floating layer will not be displayed, and the echarts instance object is directly assigned to the variable, using the variable It is no problem to render options and assign them to responsive objects.
   </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