Lines Matching refs:Divisions
153 var $Divisions = NULL; variable in pChart
356 $this->Divisions = NULL;
360 function setFixedScale($VMin,$VMax,$Divisions=5,$VXMin=0,$VXMax=0,$XDivisions=5) argument
364 $this->Divisions = $Divisions;
461 { $this->VMin = 0; $this->VMax = 2; $Scale = 1; $Divisions = 2;}
470 …if ( $Scale1 > 1 && $Scale1 <= $MaxDivs && !$ScaleOk) { $ScaleOk = TRUE; $Divisions = floor($Scale…
471 …if ( $Scale2 > 1 && $Scale2 <= $MaxDivs && !$ScaleOk) { $ScaleOk = TRUE; $Divisions = floor($Scale…
483 $Divisions++;
490 $Divisions++;
496 if ( !isset($Divisions) )
497 $Divisions = 2;
499 if ($Scale == 1 && $Divisions%2 == 1)
500 $Divisions--;
503 $Divisions = $this->Divisions;
505 $this->DivisionCount = $Divisions;
510 $this->DivisionHeight = ( $this->GArea_Y2 - $this->GArea_Y1 ) / $Divisions;
536 for($i=1;$i<=$Divisions+1;$i++)
543 $Value = $this->VMin + ($i-1) * (( $this->VMax - $this->VMin ) / $Divisions);
678 { $this->VMin = 0; $this->VMax = 2; $Scale = 1; $Divisions = 2;}
687 …if ( $Scale1 > 1 && $Scale1 <= $MaxDivs && !$ScaleOk) { $ScaleOk = TRUE; $Divisions = floor($Scale…
688 …if ( $Scale2 > 1 && $Scale2 <= $MaxDivs && !$ScaleOk) { $ScaleOk = TRUE; $Divisions = floor($Scale…
700 $Divisions++;
707 $Divisions++;
713 if ( !isset($Divisions) )
714 $Divisions = 2;
716 if ( $this->isRealInt(($this->VMax-$this->VMin)/($Divisions-1)))
717 $Divisions--;
718 elseif ( $this->isRealInt(($this->VMax-$this->VMin)/($Divisions+1)))
719 $Divisions++;
722 $Divisions = $this->Divisions;
724 $this->DivisionCount = $Divisions;
729 $this->DivisionHeight = ( $this->GArea_Y2 - $this->GArea_Y1 ) / $Divisions;
733 for($i=1;$i<=$Divisions+1;$i++)
736 $Value = $this->VMin + ($i-1) * (( $this->VMax - $this->VMin ) / $Divisions);
831 $this->XDivisionCount = $Divisions;
832 $this->DataCount = $Divisions + 2;