You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/11/21 11:59:09 UTC

[GitHub] [echarts] landmine007 opened a new issue, #17948: [Bug] 饼图点击图例legend隐藏部分项,对应的tooltip formatter,label formatter函数中的百分比数据不正确

landmine007 opened a new issue, #17948:
URL: https://github.com/apache/echarts/issues/17948

   ### Version
   
   e.g.5.4.0
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/embed/focused-cori-zefprj?fontsize=14&hidenavigation=1&theme=dark
   
   ### Steps to Reproduce
   
   1、点击图例legend,隐藏一项;
   2、在tooltip的formatter函数中,打印params.percent参数;
   3、在label的formatter函数中,打印params.percent参数;
   4、查看tooltip和label显示百分比。
   
   ### Current Behavior
   
   1、在tooltip的formatter函数中,打印params.percent参数数值不正确;
   2、在label的formatter函数中,打印params.percent参数数值不正确;
   
   ### Expected Behavior
   
   1、在tooltip的formatter函数中,打印params.percent参数数值正确显示;
   2、在label的formatter函数中,打印params.percent参数数值正确显示;
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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] echarts-bot[bot] closed issue #17948: [Bug] 饼图点击图例legend隐藏部分项,对应的tooltip formatter,label formatter函数中的百分比数据不正确

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #17948: [Bug] 饼图点击图例legend隐藏部分项,对应的tooltip formatter,label formatter函数中的百分比数据不正确
URL: https://github.com/apache/echarts/issues/17948


-- 
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 #17948: [Bug] 饼图点击图例legend隐藏部分项,对应的tooltip formatter,label formatter函数中的百分比数据不正确

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17948:
URL: https://github.com/apache/echarts/issues/17948#issuecomment-1321947996

   @landmine007 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] The pie chart clicks on the legend legend to hide some items, and the percentage data in the corresponding tooltip formatter, label formatter function is incorrect
   
   **BODY**
   
   ### Version
   
   e.g.5.4.0
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/embed/focused-cori-zefprj?fontsize=14&hidenavigation=1&theme=dark
   
   ### Steps to Reproduce
   
   1. Click legend to hide an item;
   2. In the formatter function of the tooltip, print the params.percent parameter;
   3. In the formatter function of label, print the params.percent parameter;
   4. Check the tooltip and label display percentage.
   
   ### Current Behavior
   
   1. In the formatter function of tooltip, the params.percent parameter value is not correct;
   2. In the formatter function of label, the value of the params.percent parameter is incorrect;
   
   ### Expected Behavior
   
   1. In the formatter function of the tooltip, the params.percent parameter value is displayed correctly;
   2. In the formatter function of label, the value of the params.percent parameter is displayed correctly;
   
   ### 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


[GitHub] [echarts] plainheart commented on issue #17948: [Bug] 饼图点击图例legend隐藏部分项,对应的tooltip formatter,label formatter函数中的百分比数据不正确

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17948:
URL: https://github.com/apache/echarts/issues/17948#issuecomment-1322134993

   #17734 已修复。正在准备发布 5.4.1,届时可更新使用。


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