pissang opened a new pull request #11713: fix(bar): fix bar width calculation with barMaxWidth constraint and barGap -100% #7356 URL: https://github.com/apache/incubator-echarts/pull/11713 The cause of this bug is in the line https://github.com/apache/incubator-echarts/blob/fix-bar-width-100/src/layout/barGrid.js#L292 The `width` will be constraint by the `remainedWidth`, which is the space can still be used for the remaining series. It is calcuated in https://github.com/apache/incubator-echarts/blob/fix-bar-width-100/src/layout/barGrid.js#L321 In the bug code, the barGap is not considered. So the calculated remaining width is much smaller than it should be when the barGap is set `-100%`.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org