Lines Matching refs:XDivisions
154 var $XDivisions = NULL; variable in pChart
357 $this->XDivisions = NULL; }
360 function setFixedScale($VMin,$VMax,$Divisions=5,$VXMin=0,$VXMax=0,$XDivisions=5) argument
370 $this->XDivisions = $XDivisions;
785 { $this->VXMin = 0; $this->VXMax = 2; $Scale = 1; $XDivisions = 2;}
794 …if ( $Scale1 > 1 && $Scale1 <= $MaxDivs && !$ScaleOk) { $ScaleOk = TRUE; $XDivisions = floor($Scal…
795 …if ( $Scale2 > 1 && $Scale2 <= $MaxDivs && !$ScaleOk) { $ScaleOk = TRUE; $XDivisions = floor($Scal…
807 $XDivisions++;
814 $XDivisions++;
820 if ( !isset($XDivisions) )
821 $XDivisions = 2;
823 if ( $this->isRealInt(($this->VXMax-$this->VXMin)/($XDivisions-1)))
824 $XDivisions--;
825 elseif ( $this->isRealInt(($this->VXMax-$this->VXMin)/($XDivisions+1)))
826 $XDivisions++;
829 $XDivisions = $this->XDivisions;
837 $this->DivisionWidth = ( $this->GArea_X2 - $this->GArea_X1 ) / $XDivisions;
841 for($i=1;$i<=$XDivisions+1;$i++)
845 $Value = $this->VXMin + ($i-1) * (( $this->VXMax - $this->VXMin ) / $XDivisions);