Lines Matching defs:maxVal
3269 static private function computeAutomaticScaling($minCoord, $maxCoord, &$minVal, &$maxVal, &$Divisions) {
3277 $maxVal = (float) $maxVal;
3280 if($minVal == $maxVal) {
3282 $maxVal += $maxVal/2;
3287 if($minVal == 0 && $maxVal == 0) {
3289 $maxVal = 2;
3295 $Scale1 = ($maxVal - $minVal) / $Factor;
3296 $Scale2 = ($maxVal - $minVal) / $Factor / 2;
3318 if(floor($maxVal / $Scale / $Factor) != $maxVal / $Scale / $Factor) {
3319 $GridID = floor($maxVal / $Scale / $Factor) + 1;
3320 $maxVal = $GridID * $Scale * $Factor;
3335 if(self::isRealInt(($maxVal - $minVal) / ($Divisions - 1))) {
3338 elseif(self::isRealInt(($maxVal - $minVal) / ($Divisions + 1))) {