Skip to content

Commit 6677152

Browse files
authored
fix: Corrected bottom position for x axis line.
1 parent d2eb3aa commit 6677152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charting/renderer/XAxisRenderer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class XAxisRenderer extends AxisRenderer {
145145
}
146146

147147
if (axis.getPosition() === XAxisPosition.BOTTOM || axis.getPosition() === XAxisPosition.BOTTOM_INSIDE || axis.getPosition() === XAxisPosition.BOTH_SIDED) {
148-
c.drawLine(rect.left, rect.bottom, rect.top, rect.bottom, this.mAxisLinePaint);
148+
c.drawLine(rect.left, rect.bottom, rect.right, rect.bottom, this.mAxisLinePaint);
149149
}
150150
}
151151

0 commit comments

Comments
 (0)