Lines Matching defs:Divisions
75 protected $Divisions = NULL;
274 $this->Divisions = NULL;
281 function setFixedScale($VMin, $VMax, $Divisions = 5, $VXMin = 0, $VXMax = 0, $XDivisions = 5) {
284 $this->Divisions = $Divisions;
326 $Divisions = $this->calculateDivisions($Data, $style);
328 $Divisions = $this->Divisions;
330 $this->DivisionCount = $Divisions;
337 $this->DivisionHeight = ($this->GArea_Y2 - $this->GArea_Y1) / $Divisions;
360 for($i = 1; $i <= $Divisions + 1; $i++) {
380 $Value = $this->VMin + ($i - 1) * (($this->VMax - $this->VMin) / $Divisions);
545 * data covers, as well as the scale style. Divisions should have
631 $this->calculateScales($Scale, $Divisions);
633 if(!isset ($Divisions))
634 $Divisions = 2;
636 if($Scale == 1 && $Divisions % 2 == 1)
637 $Divisions--;
639 return $Divisions;
685 $Divisions
688 $Divisions = $this->Divisions;
690 $this->DivisionCount = $Divisions;
697 $this->DivisionHeight = ($this->GArea_Y2 - $this->GArea_Y1) / $Divisions;
702 for($i = 1; $i <= $Divisions + 1; $i++) {
711 $Value = $this->VMin + ($i - 1) * (($this->VMax - $this->VMin) / $Divisions);
760 $this->XDivisionCount = $Divisions;
761 $this->DataCount = $Divisions + 2;
3206 public function calculateScales(& $Scale, & $Divisions) {
3221 $Divisions = 2;
3229 $Divisions = floor($Scale1);
3234 $Divisions = floor($Scale2);
3250 $Divisions++;
3256 $Divisions++;
3269 static private function computeAutomaticScaling($minCoord, $maxCoord, &$minVal, &$maxVal, &$Divisions) {
3290 $Divisions = 2;
3300 $Divisions = floor($Scale1);
3305 $Divisions = floor($Scale2);
3321 $Divisions++;
3327 $Divisions++;
3331 if(!isset ($Divisions)) {
3332 $Divisions = 2;
3335 if(self::isRealInt(($maxVal - $minVal) / ($Divisions - 1))) {
3336 $Divisions--;
3338 elseif(self::isRealInt(($maxVal - $minVal) / ($Divisions + 1))) {
3339 $Divisions++;