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/03/11 06:02:18 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #16667: [Bug] 在版本5中定义一个使用stack属性的bar组件时与版本四的表现存在差异

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


   @dobettest 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] When defining a bar component with stack attribute in version 5 and version 4, the behavior is different
   
   **BODY**
   
   ### Version
   
   5.3.1
   
   ### Link to Minimal Reproduction
   
   https://h3tm59.csb.app/
   
   ### Steps to Reproduce
   
   {
         xAxis: {
           show: false
         },
         yAxis: {
           type: "category",
           show: false
         },
         series: [
           {
             type: "bar",
             data: [200],
             stack: "Total",
             barWidth: 10,
             itemStyle: {
               color: "green"
             }
           },
           {
             type: "bar",
             data: [250],
             stack: 'Total',
             barWidth: 10,
             itemStyle: {
               color: "#eee"
             }
           }
         ],
         grid: {
           top: 0,
           right: 0,
           bottom: 0,
           left: 0
         }
       };
   Recurrence step: Compare the cancellation of the stack attribute annotation in the second series with the offset effect before the cancellation
   
   ### Current Behavior
   
   The offset after the overlap of gray bar and green bar is 250
   
   ### Expected Behavior
   
   The overlap of gray bar and green bar has an offer of 50, which is actually 250
   
   ### 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