We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14785f7 + bfa12a6 commit b443e28Copy full SHA for b443e28
1 file changed
AndroidCharts/src/main/java/com/dacer/androidcharts/LineView.java
@@ -446,7 +446,8 @@ private void drawBackgroundLines(Canvas canvas){
446
@Override
447
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
448
int mViewWidth = measureWidth(widthMeasureSpec);
449
- mViewHeight = measureHeight(heightMeasureSpec);
+ //mViewHeight = measureHeight(heightMeasureSpec);
450
+ mViewHeight = MeasureSpec.getSize(measureSpec);
451
refreshAfterDataChanged();
452
setMeasuredDimension(mViewWidth,mViewHeight);
453
}
0 commit comments