helgasoft commented on issue #18709: URL: https://github.com/apache/echarts/issues/18709#issuecomment-1751816536
It is possible to control both _barWidth_ and _xAxis_ depending on series data. But usually just updating the axis is enough, leaving _barWidth_ to auto-resize. **[Demo Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=CYQwLiCMAEC80G0EHICyB7AdsgNJATAAwC6OiyAKgK4CmuRJZKA6jcLpIY-RQBZW5uKAGIAnAJaDixAFCgI-OIhQZseLqR60OATiHJW7PAFZ9fATgAc-sZJwB2ErID0zgEYhRAd3gAWQgDc0B6ihErGQTJgAOYANkoAZiCxAM40ATIJVJgAxmDiWNBg6NEAFACU0ADeMtDQ6AAO-VgAdGkSNCkIJC3yIPAx8QD80H0wAFyj4CD4GXWuOZhgYfCNzZhtNB1dPX0tCeKxYFulAB5wAHzQpwiQxLCwhOUtsTSY0WC8kfPOawUb7XEnW6xBaIWY4mAnyUIS80AA1MFPF4AFSLZZza7iAC2IHOqya_022xBvWm-3EmGAABkQCkwABJKk0U5nS7XW7EC5PTF_VqnACCp3EKRauNOBPWxKBO1BfQQwvFxBBQRyWBS6FeLxKpXRPNq0GxAE8AMK8TxgTZgADyhKwpT5mHKmMGSgAhIMMgBfGSOpQ1Or5MCvSZVY6nMCTZA5WLiHIAayK6CT0TidC9OANguFKVDRSNDRoUZy4Bo0XQoiNyGgGYNRqFIrztbqgM6kwQVXzhajIWrXtkXoyxTKzpkxrNFpa9ujsYTuGgWVy61KDU8IGxKUqAZTFW9zqAA)** with dynamic data. -- 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]
