Move onSizeChanged(...)
diff --git a/MPChartLib/src/com/github/mikephil/charting/charts/BarLineChartBase.java b/MPChartLib/src/com/github/mikephil/charting/charts/BarLineChartBase.java
index 6b7ecc7..044fb2e 100644
--- a/MPChartLib/src/com/github/mikephil/charting/charts/BarLineChartBase.java
+++ b/MPChartLib/src/com/github/mikephil/charting/charts/BarLineChartBase.java
@@ -293,25 +293,6 @@
         }
     }
 
-    @Override
-    protected void onSizeChanged(int w, int h, int oldw, int oldh) {
-        //Saving current position of chart.
-        float[] pts = new float[2];
-        pts[0] = mViewPortHandler.contentLeft();
-        pts[1] = mViewPortHandler.contentTop();
-        getTransformer(AxisDependency.LEFT).pixelsToValue(pts);
-
-        //Superclass transforms chart.
-        super.onSizeChanged(w, h, oldw, oldh);
-
-        if(mKeepPositionOnRotation) {
-
-            //Restoring old position of chart.
-            getTransformer(AxisDependency.LEFT).pointValuesToPixel(pts);
-            mViewPortHandler.centerViewPort(pts, this);
-        }
-    }
-
     /**
      * RESET PERFORMANCE TRACKING FIELDS
      */
@@ -1614,4 +1595,23 @@
 
         return null;
     }
+
+    @Override
+    protected void onSizeChanged(int w, int h, int oldw, int oldh) {
+        //Saving current position of chart.
+        float[] pts = new float[2];
+        pts[0] = mViewPortHandler.contentLeft();
+        pts[1] = mViewPortHandler.contentTop();
+        getTransformer(AxisDependency.LEFT).pixelsToValue(pts);
+
+        //Superclass transforms chart.
+        super.onSizeChanged(w, h, oldw, oldh);
+
+        if(mKeepPositionOnRotation) {
+
+            //Restoring old position of chart.
+            getTransformer(AxisDependency.LEFT).pointValuesToPixel(pts);
+            mViewPortHandler.centerViewPort(pts, this);
+        }
+    }
 }