question: private float [ ] calcBorderValues ( ) { float max = Integer . MIN_VALUE ; float min = Integer . MAX_VALUE ; for ( ChartSet set : chartView . data ) { for ( ChartEntry e : set . getEntries ( ) ) { if ( e . getValue ( ) >= max ) max = e . getValue ( ) ; if ( e . getValue ( ) <= min ) min = e . getValue ( ) ; } } return new float [ ] { min , max } ; }
target:  Calculates the min/max value.