Lines Matching defs:minVal
3269 static private function computeAutomaticScaling($minCoord, $maxCoord, &$minVal, &$maxVal, &$Divisions) {
3276 $minVal = (float) $minVal;
3280 if($minVal == $maxVal) {
3281 $ispos = $minVal > 0;
3283 $minVal -= $minVal/2;
3284 if($minVal < 0 && $ispos) $minVal = 0;
3287 if($minVal == 0 && $maxVal == 0) {
3288 $minVal = 0;
3295 $Scale1 = ($maxVal - $minVal) / $Factor;
3296 $Scale2 = ($maxVal - $minVal) / $Factor / 2;
3324 if(floor($minVal / $Scale / $Factor) != $minVal / $Scale / $Factor) {
3325 $GridID = floor($minVal / $Scale / $Factor);
3326 $minVal = $GridID * $Scale * $Factor;
3335 if(self::isRealInt(($maxVal - $minVal) / ($Divisions - 1))) {
3338 elseif(self::isRealInt(($maxVal - $minVal) / ($Divisions + 1))) {