Skip to content

Commit

Permalink
Fix right side scale ticks (chartjs#6523)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle authored and etimberg committed Sep 16, 2019
1 parent eae8db3 commit 827131c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.scale.js
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ var Scale = Element.extend({
x = me.right - (isMirrored ? 0 : tl) - tickPadding;
textAlign = isMirrored ? 'left' : 'right';
} else {
x = me.right + (isMirrored ? 0 : tl) + tickPadding;
x = me.left + (isMirrored ? 0 : tl) + tickPadding;
textAlign = isMirrored ? 'right' : 'left';
}

Expand Down

0 comments on commit 827131c

Please sign in to comment.