We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bad4d73 commit 42d95b4Copy full SHA for 42d95b4
src/plot.js
@@ -138,7 +138,7 @@ function ScaleFunctions(scales) {
138
}
139
140
function autoHeight({y, fy, fx}) {
141
- const ny = y && y.type === "ordinal" ? y.scale.domain().length : 6;
+ const ny = y && y.type === "ordinal" ? y.scale.domain().length : 17;
142
const nfy = fy ? fy.scale.domain().length : 1;
143
return !!(y || fy) * Math.max(1, Math.min(60, ny * nfy)) * 20 + !!fx * 30 + 60;
144
0 commit comments