diff --git a/KLineChartLib/src/main/java/com/github/fujianlian/klinechart/BaseKLineChartView.java b/KLineChartLib/src/main/java/com/github/fujianlian/klinechart/BaseKLineChartView.java index fc784a8..42f6142 100755 --- a/KLineChartLib/src/main/java/com/github/fujianlian/klinechart/BaseKLineChartView.java +++ b/KLineChartLib/src/main/java/com/github/fujianlian/klinechart/BaseKLineChartView.java @@ -831,7 +831,7 @@ private void calculateValue() { * @return */ private float getMinTranslateX() { - return -mDataLen + mWidth / mScaleX - mPointWidth / 2; + return -mDataLen + mWidth / mScaleX - mPointWidth / 2 - startPadding; } /**