Skip to content

Commit

Permalink
Fix chart start padding in minimum scale
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad Rezaei committed Dec 7, 2022
1 parent b70c5f8 commit 303f541
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ private void calculateValue() {
* @return
*/
private float getMinTranslateX() {
return -mDataLen + mWidth / mScaleX - mPointWidth / 2;
return -mDataLen + mWidth / mScaleX - mPointWidth / 2 - startPadding;
}

/**
Expand Down

0 comments on commit 303f541

Please sign in to comment.