diff --git a/MPChartLib/src/main/java/com/github/mikephil/charting/utils/Utils.java b/MPChartLib/src/main/java/com/github/mikephil/charting/utils/Utils.java index 60ff6ba3da..a3e142fce1 100644 --- a/MPChartLib/src/main/java/com/github/mikephil/charting/utils/Utils.java +++ b/MPChartLib/src/main/java/com/github/mikephil/charting/utils/Utils.java @@ -537,7 +537,7 @@ public static void drawImage(Canvas canvas, mDrawableBoundsCache.left, mDrawableBoundsCache.top, mDrawableBoundsCache.left + width, - mDrawableBoundsCache.top + width); + mDrawableBoundsCache.top + height); int saveId = canvas.save(); // translate to the correct position and draw