selunders commented on issue #20982:
URL: https://github.com/apache/echarts/issues/20982#issuecomment-2899105241

   > the expectation is that the min/max bounds values that are supplied to the 
x-axis are respected ...
   > 
   > ```
   > xAxis: {
   >     type: 'time',
   >     min: 1747638000000,
   >     max: 1747724400000
   >   },
   > ```
   > 
   > does not maintain those bounds ....
   
   Here's the example updated to explicitly set min/max bounds. When the 
barCategoryGap is set, the X axis expands past the defined bounds: 
[https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5JALZW0A0J6DE0RAjAOwAWPgFYAzAA4ADNJltSsBgEMMvQX3EAmAQJnSSAXzmxyOfEVTyK1OgDdFAGwCuzA0bxUAThCqFYAbXZieXQAE0UwRSI_JDsnGn9-IQA2CV1pFlgeSQBdQ2RY5yjEvj4tHV0MnmFc7IyAejrYACEAVQBxNoBNQPQreNoAI0UPVkDDQItgsIiomIdChLUUqTSM6v1anrJKfqGRo3k9gGFwqgBzYA9yNsUQXh4eWAbYI-AGJmgwMgALfFh7LhUWBcOrARxgMYHILyaaRfybYLbaywWgA6DMKH6EgIsjAYD2SB3aFgLxnM6eIgAImU-EpRix-gA3EA](https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5JALZW0A0J6DE0RAjAOwAWPgFYAzAA4ADNJltSsBgEMMvQX3EAmAQJnSSAXzmxyOfEVTyK1OgDdFAGwCuzA0bxUAThCqFYAbXZieXQAE0UwRSI_JDsnGn9-IQA2CV1pFlgeSQBdQ2RY5yjEvj4tHV0MnmFc7IyAejrYACEAVQBxNoBNQPQreNoAI0UPVkDDQItgsIiomIdChLUUqTSM6v1anrJKfqGRo3k9gGFwqgBzYA9yNsUQXh4eWAbYI-AGJmgwMgALfFh7LhUWBcOrARxgMYHIL
 yaaRfybYLbaywWgA6DMKH6EgIsjAYD2SB3aFgLxnM6eIgAImU-EpRix-gA3EA
   )
   
   
![Image](https://github.com/user-attachments/assets/966fa182-053e-47e3-95f4-b10b97e4a9ca)


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