Skip to content

Commit 6680745

Browse files
committed
Fix typo in calc_autorange: x/ysizemode "scale" -> "scaled"
1 parent 3ac32f3 commit 6680745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/shapes/calc_autorange.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function shapeBounds(ax, shape, paramsToUse) {
8383

8484
var convertVal = isCategory ? ax.r2c : ax.d2c;
8585

86-
var isSizeModeScale = shape[dim + 'sizemode'] === 'scale';
86+
var isSizeModeScale = shape[dim + 'sizemode'] === 'scaled';
8787
if(isSizeModeScale) {
8888
v0 = shape[dim + '0'];
8989
v1 = shape[dim + '1'];

0 commit comments

Comments
 (0)