Commits

Daniel Nadeau committed 3a55c13 Merge

Merged in yous/holographlibrary/patch (pull request #29)

Fix bug updating isMaxXUserSet on setRangeY and remove unused things

Comments (0)

Files changed (1)

HoloGraphLibrary/src/com/echo/holographlibrary/LineGraph.java

 	private float maxY = 0, maxX = 0;
 	private double rangeYRatio = 0;
 	private double rangeXRatio = 0;
-	private boolean isMaxYUserSet = false;
 	private boolean isMaxXUserSet = false;
 	private int lineToFill = -1;
 	private int indexSelected = -1;
 		super(context, attrs);
 		dipPadding = getPixelForDip(DEFAULT_PADDING);
 	}
-	public void setMinY(float minY){
-		
-	}
 
 	public boolean isUsingDips() {
 		return isUsingDips;
 	public void setRangeY(float min, float max) {
 		minY = min;
 		maxY = max;
-		isMaxYUserSet = true;
 	}
 	private void setRangeY(double min, double max){
 		minY = (float)min;
 		maxY = (float)max;
-		isMaxXUserSet = true;
 	}
 	public void setRangeX(float min, float max) {
 		minX = min;
 		maxX = max;
+		isMaxXUserSet = true;
 	}
 	private void setRangeX(double min, double max){
 		minX = (float)min;