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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to