MatthiasMert commented on issue #19874: URL: https://github.com/apache/echarts/issues/19874#issuecomment-2082006636
There seem to be multiple problems with bar series. The issue in the given example seems to be axis `type: 'time'` together with `barWidth: '100%'` but only at exactly 2 datapoints: [Demo](https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5JALZW0A0JAvm-uTvkaqTKUasWgDcAhgBsArsw5dYeKgCcIVQrADaJdAMGwARhJUB1CABMwACyIAiAIwAGJwFI7iwRYlgJRLVoOLLAOALrBWgBMwZGh4bqkFNR0xiq0CZwkoSjsANxAA) Another issue seems to be that axis `type: 'value'` does not work at all with [stack](https://echarts.apache.org/en/option.html#series-bar.stack). The documentation is somewaht confusing on which axis types should work: [Demo](https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AG4CGANgK5W0A0JAvt-uRz4iqUmUo1YDFu1q9-sPFQBOEKoVgBtEulFjx1OgCNGyrjtLRGAW0kAiAIx2FYvGEYBjANZE7YYO7MzhboACaM7kSamg6csA4AunGaAExxKQlJFnwWemIUhlImZi6WNvYpwfqK7t6-_oFV-uGRWjFxiclpsBlZYjnoCSg8ANxAA) For axis `type: 'time'` without the use of `barWidth: '100%'` its working fine: [Demo](https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5JALZW0kC-ANCWMMADaQgiSDiXI58QkugrU6ANwCGvAK7M2ndHioAnCFUKwA2lOKlS0BUzoAGWhrOwARgu0BxBYNi0AtAEZr1gCkdiboztoA6hAAJmAAFnQAzACswfZm0QpgCkTGDqSGvuywvgC66Q6GAEzFVaWhsOUNMjRe4SxmImao-RZWXr4h-XjZAMYA1nTc2bxDDpnZuQ3ohcVlFWbVtfX5TfktdO0mXaQ9Dn2ttFVzZiMKE1PAMzekCzlGy0ZFJXv5RjWwOoNX5mA5tFwdUgneqsADcQA) Axis `type: 'category` is working as intended: [Demo](https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0kC-ANCTDBgAG0ggiSASXI58UkugrU6AN0aiArlR7oZ6PFQ4QqhWAG0lxUqWiMAtjVi0ADLUG30AI0YcA4oySLgC0AIyurgCkHtY-fgDqEAAmYAAWdACcAKwxnl7JzIxEVl6kFmH8sGEAuvllFgBMVY01cbB17SrOtL4ceqQGpKhl9k50YbFleGCM9ADWdMKzolNefUmpGS4R0Wu2hbMl7egVVbX1Xk0tbWWdZd10fQP6lyNeYz2N-6Qzc4suZaaH7xDibdITSJ5dqHYqWE6WSrVe5lSzNWCtdoo2yPFzPaxDNq8ADcQA) -- 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-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org