Skip to content

Commit 7255dcc

Browse files
committed
discard initialXRatio in normal category bar charts - fixes #4134
1 parent 352e7db commit 7255dcc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/charts/common/bar/Helpers.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ export default class Helpers {
104104
if (w.globals.isXNumeric) {
105105
// max barwidth should be equal to minXDiff to avoid overlap
106106
let xRatio = this.barCtx.xRatio
107-
if (w.config.xaxis.convertedCatToNumeric) {
108-
xRatio = this.barCtx.initialXRatio
109-
}
107+
110108
if (
111109
w.globals.minXDiff &&
112110
w.globals.minXDiff !== 0.5 &&

0 commit comments

Comments
 (0)