We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 519056c commit 10f97c1Copy full SHA for 10f97c1
src/charting/renderer/XAxisRenderer.ts
@@ -34,7 +34,7 @@ export class XAxisRenderer extends AxisRenderer {
34
const rect = this.mAxis.isIgnoringOffsets() ? this.mViewPortHandler.getChartRect() : this.mViewPortHandler.getContentRect();
35
if (rect.width() > 10 && !this.mViewPortHandler.isFullyZoomedOutX()) {
36
const p1 = this.mTrans.getValuesByTouchPoint(rect.left, rect.top);
37
- const p2 = this.mTrans.getValuesByTouchPoint(rect.top, rect.top);
+ const p2 = this.mTrans.getValuesByTouchPoint(rect.right, rect.top);
38
39
if (inverted) {
40
min = p2.x;
0 commit comments