We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0d15ef commit 798fdd7Copy full SHA for 798fdd7
src/core/core.scale.js
@@ -1414,11 +1414,11 @@ export default class Scale extends Element {
1414
1415
if (me.isHorizontal()) {
1416
x1 = _alignPixel(chart, me.left, axisWidth) - axisWidth / 2;
1417
- x2 = _alignPixel(chart, me.right, lastLineWidth) - axisWidth / 2;
+ x2 = _alignPixel(chart, me.right, lastLineWidth) - lastLineWidth / 2;
1418
y1 = y2 = borderValue;
1419
} else {
1420
y1 = _alignPixel(chart, me.top, axisWidth) - axisWidth / 2;
1421
- y2 = _alignPixel(chart, me.bottom, lastLineWidth) - axisWidth / 2;
+ y2 = _alignPixel(chart, me.bottom, lastLineWidth) - lastLineWidth / 2;
1422
x1 = x2 = borderValue;
1423
}
1424
drawLine(
0 commit comments