You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "zy-smile (via GitHub)" <gi...@apache.org> on 2023/02/15 02:58:27 UTC

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

zy-smile opened a new issue, #18273:
URL: https://github.com/apache/echarts/issues/18273

   ### Version
   
   4.9.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   [Bug] 为什么把echarts的实例直接赋值给vue3的响应式对象,然后渲染参数,柱状图的tooptip设置了trigger:axis,会不显示tooltip浮层,而把echarts实例对象直接赋值给变量,用变量渲染options后再赋值给响应式对象就没问题。
   
   ### Current Behavior
   
   [Bug] 为什么把echarts的实例直接赋值给vue3的响应式对象,然后渲染参数,柱状图的tooptip设置了trigger:axis,会不显示tooltip浮层,而把echarts实例对象直接赋值给变量,用变量渲染options后再赋值给响应式对象就没问题。
   
   ### Expected Behavior
   
   [Bug] 为什么把echarts的实例直接赋值给vue3的响应式对象,然后渲染参数,柱状图的tooptip设置了trigger:axis,会不显示tooltip浮层,而把echarts实例对象直接赋值给变量,用变量渲染options后再赋值给响应式对象就没问题。
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser: chrome
   - Framework:Vue3
   ```
   
   
   ### Any additional comments?
   
   [Bug] 为什么把echarts的实例直接赋值给vue3的响应式对象,然后渲染参数,柱状图的tooptip设置了trigger:axis,会不显示tooltip浮层,而把echarts实例对象直接赋值给变量,用变量渲染options后再赋值给响应式对象就没问题。


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


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

Posted by "susiwen8 (via GitHub)" <gi...@apache.org>.
susiwen8 closed issue #18273: [Bug] 为什么把echarts的实例直接赋值给vue3的响应式对象,然后渲染参数,柱状图的tooptip设置了trigger:axis,会不显示tooltip浮层,而把echarts实例对象直接赋值给变量,用变量渲染options后再赋值给响应式对象就没问题。
URL: https://github.com/apache/echarts/issues/18273


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


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

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
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


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

Posted by "susiwen8 (via GitHub)" <gi...@apache.org>.
susiwen8 commented on issue #18273:
URL: https://github.com/apache/echarts/issues/18273#issuecomment-1430685997

   https://echarts.apache.org/zh/faq.html


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