Skip to content

Commit 29f1337

Browse files
kurkleetimberg
authored andcommitted
Fix right side scale ticks (#6523)
1 parent 376da21 commit 29f1337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/core.scale.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ var Scale = Element.extend({
10281028
x = me.right - (isMirrored ? 0 : tl) - tickPadding;
10291029
textAlign = isMirrored ? 'left' : 'right';
10301030
} else {
1031-
x = me.right + (isMirrored ? 0 : tl) + tickPadding;
1031+
x = me.left + (isMirrored ? 0 : tl) + tickPadding;
10321032
textAlign = isMirrored ? 'right' : 'left';
10331033
}
10341034

0 commit comments

Comments
 (0)