question: public int determineMaxYValue ( HashMap < ComparableLabel , Integer > dataPoints , Set < ComparableLabel > dateKeySet ) { Integer maxValue = Integer . MIN_VALUE ; Integer minValue = Integer . MAX_VALUE ; for ( ComparableLabel date : dateKeySet ) { int tempInt = dataPoints . get ( date ) ; if ( tempInt < minValue ) { minValue = tempInt ; } if ( tempInt > maxValue ) { maxValue = tempInt ; } } return maxValue ; }
target:  Returns the maximum y value for the set of datapoints used to draw the line graph *IF* a maximum  value was for the y axis was not passed in