@@ -28,6 +28,9 @@ |
||
28 | 28 | private $show_angle_tick = true; |
29 | 29 | private $radius_tick_color = 'black'; |
30 | 30 | |
31 | + /** |
|
32 | + * @param \Amenadiel\JpGraph\Image\RotImage $img |
|
33 | + */ |
|
31 | 34 | public function __construct($img, $aScale) |
32 | 35 | { |
33 | 36 | parent::__construct($img, $aScale); |
@@ -18,6 +18,9 @@ |
||
18 | 18 | $this->SetMarginColor('white'); |
19 | 19 | } |
20 | 20 | |
21 | + /** |
|
22 | + * @param integer $aDense |
|
23 | + */ |
|
21 | 24 | public function SetDensity($aDense) |
22 | 25 | { |
23 | 26 | $this->SetTickDensity(TICKD_NORMAL, $aDense); |
@@ -6,6 +6,10 @@ |
||
6 | 6 | private $graph; |
7 | 7 | public $clockwise = false; |
8 | 8 | |
9 | + /** |
|
10 | + * @param integer $aMax |
|
11 | + * @param PolarGraph $graph |
|
12 | + */ |
|
9 | 13 | public function __construct($aMax, $graph, $aClockwise = false) |
10 | 14 | { |
11 | 15 | parent::__construct(0, $aMax, 'x'); |
@@ -6,6 +6,11 @@ discard block |
||
6 | 6 | private $graph; |
7 | 7 | public $clockwise = false; |
8 | 8 | |
9 | + /** |
|
10 | + * @param integer $aMax |
|
11 | + * @param PolarGraph $graph |
|
12 | + * @param boolean $aClockwise |
|
13 | + */ |
|
9 | 14 | public function __construct($aMax, $graph, $aClockwise) |
10 | 15 | { |
11 | 16 | parent::__construct(0, $aMax, 'x'); |
@@ -18,6 +23,9 @@ discard block |
||
18 | 23 | $this->clockwise = $aFlg; |
19 | 24 | } |
20 | 25 | |
26 | + /** |
|
27 | + * @param integer $v |
|
28 | + */ |
|
21 | 29 | public function _Translate($v) |
22 | 30 | { |
23 | 31 | return parent::Translate($v); |
@@ -11,6 +11,10 @@ discard block |
||
11 | 11 | private $title_color = 'navy'; |
12 | 12 | private $len = 0; |
13 | 13 | |
14 | + /** |
|
15 | + * @param \Amenadiel\JpGraph\Image\RotImage $img |
|
16 | + * @param LinearScale $aScale |
|
17 | + */ |
|
14 | 18 | public function __construct($img, $aScale, $color = array(0, 0, 0)) |
15 | 19 | { |
16 | 20 | parent::__construct($img, $aScale, $color); |
@@ -25,6 +29,11 @@ discard block |
||
25 | 29 | // $aAxisAngle = Axis angle |
26 | 30 | // $grid = Returns an array with positions used to draw the grid |
27 | 31 | // $lf = Label flag, TRUE if the axis should have labels |
32 | + |
|
33 | + /** |
|
34 | + * @param double $aAxisAngle |
|
35 | + * @param boolean $lf |
|
36 | + */ |
|
28 | 37 | public function Stroke($pos, $aAxisAngle, &$grid, $title, $lf) |
29 | 38 | { |
30 | 39 | $this->img->SetColor($this->color); |
@@ -72,6 +81,9 @@ discard block |
||
72 | 81 | $this->_StrokeAxisTitle($pos, $aAxisAngle, $title); |
73 | 82 | } |
74 | 83 | |
84 | + /** |
|
85 | + * @param double $pos |
|
86 | + */ |
|
75 | 87 | public function _StrokeAxisTitle($pos, $aAxisAngle, $title) |
76 | 88 | { |
77 | 89 | $this->title->Set($title); |
@@ -39,6 +39,9 @@ discard block |
||
39 | 39 | $this->yscale->ticks->SupressMinorTickMarks(!$aFlag); |
40 | 40 | } |
41 | 41 | |
42 | + /** |
|
43 | + * @param string $axtype |
|
44 | + */ |
|
42 | 45 | public function SetScale($axtype, $ymin = 1, $ymax = 1, $dummy1 = null, $dumy2 = null) |
43 | 46 | { |
44 | 47 | if ($axtype != 'lin' && $axtype != 'log') { |
@@ -72,6 +75,9 @@ discard block |
||
72 | 75 | $this->SetSize($aSize); |
73 | 76 | } |
74 | 77 | |
78 | + /** |
|
79 | + * @param integer $densy |
|
80 | + */ |
|
75 | 81 | public function SetTickDensity($densy = TICKD_NORMAL, $dummy1 = null) |
76 | 82 | { |
77 | 83 | $this->ytick_factor = 25; |
@@ -113,6 +119,9 @@ discard block |
||
113 | 119 | } |
114 | 120 | } |
115 | 121 | |
122 | + /** |
|
123 | + * @param integer[] $aColor |
|
124 | + */ |
|
116 | 125 | public function SetColor($aColor) |
117 | 126 | { |
118 | 127 | $this->SetMarginColor($aColor); |
@@ -52,6 +52,9 @@ discard block |
||
52 | 52 | $this->show = $aShowMajor; |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param \Amenadiel\JpGraph\Image\RotImage $img |
|
57 | + */ |
|
55 | 58 | public function Stroke($img, $grid) |
56 | 59 | { |
57 | 60 | if (!$this->show) { |
@@ -138,6 +141,9 @@ discard block |
||
138 | 141 | $this->weight = $w; |
139 | 142 | } |
140 | 143 | |
144 | + /** |
|
145 | + * @param boolean $aColor |
|
146 | + */ |
|
141 | 147 | public function SetFillColor($aColor) |
142 | 148 | { |
143 | 149 | $this->fill_color = $aColor; |
@@ -19,6 +19,9 @@ |
||
19 | 19 | protected $linespacing; // Line spacing in pixels |
20 | 20 | protected $iBackgroundColor = -1; // Default is no background fill |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $aColor |
|
24 | + */ |
|
22 | 25 | public function __construct($aColor, $aWeight = 1) |
23 | 26 | { |
24 | 27 | $this->color = $aColor; |
@@ -73,6 +73,9 @@ |
||
73 | 73 | parent::AddText($aTxt); |
74 | 74 | } |
75 | 75 | |
76 | + /** |
|
77 | + * @param string $c |
|
78 | + */ |
|
76 | 79 | public function SetColor($c) |
77 | 80 | { |
78 | 81 | $this->SetMarginColor($c); |