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

   ### Version
   
   Official Editor (5.6?)
   
   ### Link to Minimal Reproduction
   
   
https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5JALZW0A0JAvm-uTvkaqTKUasWgDcAhgBsArsw5dYeKgCcIVQrADaJdAMGwA9IdgATCWAlEtSSbJFaAjAHYALM4BsAZgAcABgDAllhHPwBddjDg41gAdQB5ACUAaQBlXVJzS2tbaTlrF3dvf0CA4NCI4Nz7ArdnZwAmV1dSv3KAVgiooxMAIQBVAHFBgE0M9Bisq21q_O1Cz19WtpCG8M55usbm1uC18OCnLY8d0r21sO6YhJT0gyFqOgAjCRVWcZ7YF5UAYQsqADmwBU5EGEhAREcnx-wAYTGgYDIAAt8LApBBoFRYBjDMAZGAMuwSGEUOwANxAA
   
   ### Steps to Reproduce
   
   Comment in/out the barCategoryGap option and look at the X axis bounds.
   
   ### Current Behavior
   
   I was having the issue demonstrated in the gif, seems to be a combination of 
these three things:
   - xAxis type set to 'time'
   - having exactly 2 datapoints
   - and having a barCategoryGap set
   
   If these three things (from what I can tell) are true, the X-Axis bounds 
doesn't respect the given min/max bound options.
   
   
![Image](https://github.com/user-attachments/assets/9664f73a-5cf1-4957-bc0c-ef79ee73388d)
   
   ### Expected Behavior
   
   I would expect the X Axis bounds to stay the same when barCategoryGap is set 
and there are 2 datapoints.
   
   ### Environment
   
   ```markdown
   - OS: EndeavourOS Linux x86_64
   - Browser: Chromium Version 138.0.7157.0 (Developer Build) (64-bit)
   Tested in the Official Editor
   ```
   
   ### Any additional comments?
   
    


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