Skip to content

Commit 6e6bfa6

Browse files
committed
set minDiff for category axes to one
1 parent 7aecfb2 commit 6e6bfa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/bar/sieve.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function Sieve(traces, opts) {
4848

4949
var type = (opts.posAxis || {}).type;
5050
if(type === 'category' || type === 'multicategory') {
51-
this.minDiff = Math.min(1, this.minDiff);
51+
this.minDiff = 1;
5252
}
5353

5454
this.binWidth = this.minDiff;

0 commit comments

Comments
 (0)