@@ -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,10 @@ discard block |
||
| 18 | 18 | private $iSize = ARROW_S2; |
| 19 | 19 | private $iColor = 'black'; |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @param integer $x |
|
| 23 | + * @param integer $aDirection |
|
| 24 | + */ |
|
| 21 | 25 | public function __construct($x, $y, $aDirection, $aType = ARROWT_SOLID, $aSize = ARROW_S2) |
| 22 | 26 | { |
| 23 | 27 | $this->iDirection = $aDirection; |
@@ -27,6 +31,9 @@ discard block |
||
| 27 | 31 | $this->iy = $y; |
| 28 | 32 | } |
| 29 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $aColor |
|
| 36 | + */ |
|
| 30 | 37 | public function SetColor($aColor) |
| 31 | 38 | { |
| 32 | 39 | $this->iColor = $aColor; |
@@ -15,6 +15,9 @@ discard block |
||
| 15 | 15 | public $transy = 0; |
| 16 | 16 | private $m = array(); |
| 17 | 17 | |
| 18 | + /** |
|
| 19 | + * @param string $aFormat |
|
| 20 | + */ |
|
| 18 | 21 | public function __construct($aWidth, $aHeight, $a = 0, $aFormat = DEFAULT_GFORMAT, $aSetAutoMargin = true) |
| 19 | 22 | { |
| 20 | 23 | parent::__construct($aWidth, $aHeight, $aFormat, $aSetAutoMargin); |
@@ -23,6 +26,10 @@ discard block |
||
| 23 | 26 | $this->SetAngle($a); |
| 24 | 27 | } |
| 25 | 28 | |
| 29 | + /** |
|
| 30 | + * @param double $dx |
|
| 31 | + * @param double $dy |
|
| 32 | + */ |
|
| 26 | 33 | public function SetCenter($dx, $dy) |
| 27 | 34 | { |
| 28 | 35 | $old_dx = $this->dx; |
@@ -70,6 +77,11 @@ discard block |
||
| 70 | 77 | parent::Circle($xc, $yc, $r); |
| 71 | 78 | } |
| 72 | 79 | |
| 80 | + /** |
|
| 81 | + * @param integer $xc |
|
| 82 | + * @param integer $yc |
|
| 83 | + * @param integer $r |
|
| 84 | + */ |
|
| 73 | 85 | public function FilledCircle($xc, $yc, $r) |
| 74 | 86 | { |
| 75 | 87 | list($xc, $yc) = $this->Rotate($xc, $yc); |
@@ -112,6 +124,10 @@ discard block |
||
| 112 | 124 | } |
| 113 | 125 | } |
| 114 | 126 | |
| 127 | + /** |
|
| 128 | + * @param integer $fromX |
|
| 129 | + * @param integer $fromY |
|
| 130 | + */ |
|
| 115 | 131 | public function CopyMerge($fromImg, $toX, $toY, $fromX, $fromY, $toWidth, $toHeight, $fromWidth = -1, $fromHeight = -1, $aMix = 100) |
| 116 | 132 | { |
| 117 | 133 | list($toX, $toY) = $this->Rotate($toX, $toY); |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | protected $show_last_label = true; |
| 36 | 36 | protected $label_step = 1; // Used by a text axis to specify what multiple of major steps |
| 37 | 37 | // should be labeled. |
| 38 | - protected $labelPos = 0; // Which side of the axis should the labels be? |
|
| 38 | + protected $labelPos = 0; // Which side of the axis should the labels be? |
|
| 39 | 39 | protected $title_adjust; |
| 40 | 40 | protected $title_margin; |
| 41 | 41 | protected $title_side = SIDE_LEFT; |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | //-------------------------------------------------------------------------- |
| 35 | 35 | class PolarPlot |
| 36 | 36 | { |
| 37 | - public $line_style = 'solid'; |
|
| 37 | + public $line_style = 'solid'; |
|
| 38 | 38 | public $mark; |
| 39 | 39 | public $legendcsimtarget = ''; |
| 40 | 40 | public $legendcsimalt = ''; |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | class PlotMark |
| 21 | 21 | { |
| 22 | 22 | public $title; |
| 23 | - public $show = true; |
|
| 23 | + public $show = true; |
|
| 24 | 24 | public $type; |
| 25 | 25 | public $weight = 1; |
| 26 | 26 | public $iFormatCallback = ""; |
@@ -29,9 +29,9 @@ discard block |
||
| 29 | 29 | public $color = "black"; |
| 30 | 30 | public $width = 4; |
| 31 | 31 | private $yvalue; |
| 32 | - private $xvalue = ''; |
|
| 32 | + private $xvalue = ''; |
|
| 33 | 33 | private $csimtarget; |
| 34 | - private $csimwintarget = ''; |
|
| 34 | + private $csimwintarget = ''; |
|
| 35 | 35 | private $csimalt; |
| 36 | 36 | private $csimareas; |
| 37 | 37 | private $markimg = ''; |