@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * |
131 | 131 | * @param p require p>0 |
132 | 132 | * @param q require q>0 |
133 | - * @return 0 if p<=0, q<=0 or p+q>2.55E305 to avoid errors and over/underflow |
|
133 | + * @return double if p<=0, q<=0 or p+q>2.55E305 to avoid errors and over/underflow |
|
134 | 134 | * @author Jaco van Kooten |
135 | 135 | */ |
136 | 136 | private static function logBeta($p, $q) |
@@ -152,6 +152,8 @@ discard block |
||
152 | 152 | * Evaluates of continued fraction part of incomplete beta function. |
153 | 153 | * Based on an idea from Numerical Recipes (W.H. Press et al, 1992). |
154 | 154 | * @author Jaco van Kooten |
155 | + * @param double $p |
|
156 | + * @param double $q |
|
155 | 157 | */ |
156 | 158 | private static function betaFraction($x, $p, $q) |
157 | 159 | { |
@@ -708,7 +710,6 @@ discard block |
||
708 | 710 | * |
709 | 711 | * @access public |
710 | 712 | * @category Statistical Functions |
711 | - * @param mixed $arg,... Data values |
|
712 | 713 | * @return float |
713 | 714 | */ |
714 | 715 | public static function AVEDEV() |
@@ -757,7 +758,6 @@ discard block |
||
757 | 758 | * |
758 | 759 | * @access public |
759 | 760 | * @category Statistical Functions |
760 | - * @param mixed $arg,... Data values |
|
761 | 761 | * @return float |
762 | 762 | */ |
763 | 763 | public static function AVERAGE() |
@@ -800,7 +800,6 @@ discard block |
||
800 | 800 | * |
801 | 801 | * @access public |
802 | 802 | * @category Statistical Functions |
803 | - * @param mixed $arg,... Data values |
|
804 | 803 | * @return float |
805 | 804 | */ |
806 | 805 | public static function AVERAGEA() |
@@ -847,7 +846,6 @@ discard block |
||
847 | 846 | * |
848 | 847 | * @access public |
849 | 848 | * @category Mathematical and Trigonometric Functions |
850 | - * @param mixed $arg,... Data values |
|
851 | 849 | * @param string $condition The criteria that defines which cells will be checked. |
852 | 850 | * @param mixed[] $averageArgs Data values |
853 | 851 | * @return float |
@@ -892,7 +890,6 @@ discard block |
||
892 | 890 | * @param float $value Value at which you want to evaluate the distribution |
893 | 891 | * @param float $alpha Parameter to the distribution |
894 | 892 | * @param float $beta Parameter to the distribution |
895 | - * @param boolean $cumulative |
|
896 | 893 | * @return float |
897 | 894 | * |
898 | 895 | */ |
@@ -929,9 +926,8 @@ discard block |
||
929 | 926 | * @param float $probability Probability at which you want to evaluate the distribution |
930 | 927 | * @param float $alpha Parameter to the distribution |
931 | 928 | * @param float $beta Parameter to the distribution |
932 | - * @param float $rMin Minimum value |
|
933 | - * @param float $rMax Maximum value |
|
934 | - * @param boolean $cumulative |
|
929 | + * @param integer $rMin Minimum value |
|
930 | + * @param integer $rMax Maximum value |
|
935 | 931 | * @return float |
936 | 932 | * |
937 | 933 | */ |
@@ -1180,7 +1176,6 @@ discard block |
||
1180 | 1176 | * |
1181 | 1177 | * @access public |
1182 | 1178 | * @category Statistical Functions |
1183 | - * @param mixed $arg,... Data values |
|
1184 | 1179 | * @return int |
1185 | 1180 | */ |
1186 | 1181 | public static function COUNT() |
@@ -1214,7 +1209,6 @@ discard block |
||
1214 | 1209 | * |
1215 | 1210 | * @access public |
1216 | 1211 | * @category Statistical Functions |
1217 | - * @param mixed $arg,... Data values |
|
1218 | 1212 | * @return int |
1219 | 1213 | */ |
1220 | 1214 | public static function COUNTA() |
@@ -1244,7 +1238,6 @@ discard block |
||
1244 | 1238 | * |
1245 | 1239 | * @access public |
1246 | 1240 | * @category Statistical Functions |
1247 | - * @param mixed $arg,... Data values |
|
1248 | 1241 | * @return int |
1249 | 1242 | */ |
1250 | 1243 | public static function COUNTBLANK() |
@@ -1274,7 +1267,6 @@ discard block |
||
1274 | 1267 | * |
1275 | 1268 | * @access public |
1276 | 1269 | * @category Statistical Functions |
1277 | - * @param mixed $arg,... Data values |
|
1278 | 1270 | * @param string $condition The criteria that defines which cells will be counted. |
1279 | 1271 | * @return int |
1280 | 1272 | */ |
@@ -1462,7 +1454,6 @@ discard block |
||
1462 | 1454 | * |
1463 | 1455 | * @access public |
1464 | 1456 | * @category Statistical Functions |
1465 | - * @param mixed $arg,... Data values |
|
1466 | 1457 | * @return float |
1467 | 1458 | */ |
1468 | 1459 | public static function DEVSQ() |
@@ -1744,7 +1735,6 @@ discard block |
||
1744 | 1735 | * |
1745 | 1736 | * @access public |
1746 | 1737 | * @category Statistical Functions |
1747 | - * @param mixed $arg,... Data values |
|
1748 | 1738 | * @return float |
1749 | 1739 | */ |
1750 | 1740 | public static function GEOMEAN() |
@@ -1805,7 +1795,6 @@ discard block |
||
1805 | 1795 | * |
1806 | 1796 | * @access public |
1807 | 1797 | * @category Statistical Functions |
1808 | - * @param mixed $arg,... Data values |
|
1809 | 1798 | * @return float |
1810 | 1799 | */ |
1811 | 1800 | public static function HARMEAN() |
@@ -1961,8 +1950,6 @@ discard block |
||
1961 | 1950 | * |
1962 | 1951 | * @access public |
1963 | 1952 | * @category Statistical Functions |
1964 | - * @param mixed $arg,... Data values |
|
1965 | - * @param int $entry Position (ordered from the largest) in the array or range of data to return |
|
1966 | 1953 | * @return float |
1967 | 1954 | * |
1968 | 1955 | */ |
@@ -2187,7 +2174,6 @@ discard block |
||
2187 | 2174 | * |
2188 | 2175 | * @access public |
2189 | 2176 | * @category Statistical Functions |
2190 | - * @param mixed $arg,... Data values |
|
2191 | 2177 | * @return float |
2192 | 2178 | */ |
2193 | 2179 | public static function MAX() |
@@ -2222,7 +2208,6 @@ discard block |
||
2222 | 2208 | * |
2223 | 2209 | * @access public |
2224 | 2210 | * @category Statistical Functions |
2225 | - * @param mixed $arg,... Data values |
|
2226 | 2211 | * @return float |
2227 | 2212 | */ |
2228 | 2213 | public static function MAXA() |
@@ -2262,7 +2247,6 @@ discard block |
||
2262 | 2247 | * |
2263 | 2248 | * @access public |
2264 | 2249 | * @category Mathematical and Trigonometric Functions |
2265 | - * @param mixed $arg,... Data values |
|
2266 | 2250 | * @param string $condition The criteria that defines which cells will be checked. |
2267 | 2251 | * @return float |
2268 | 2252 | */ |
@@ -2302,7 +2286,6 @@ discard block |
||
2302 | 2286 | * |
2303 | 2287 | * @access public |
2304 | 2288 | * @category Statistical Functions |
2305 | - * @param mixed $arg,... Data values |
|
2306 | 2289 | * @return float |
2307 | 2290 | */ |
2308 | 2291 | public static function MEDIAN() |
@@ -2346,7 +2329,6 @@ discard block |
||
2346 | 2329 | * |
2347 | 2330 | * @access public |
2348 | 2331 | * @category Statistical Functions |
2349 | - * @param mixed $arg,... Data values |
|
2350 | 2332 | * @return float |
2351 | 2333 | */ |
2352 | 2334 | public static function MIN() |
@@ -2381,7 +2363,6 @@ discard block |
||
2381 | 2363 | * |
2382 | 2364 | * @access public |
2383 | 2365 | * @category Statistical Functions |
2384 | - * @param mixed $arg,... Data values |
|
2385 | 2366 | * @return float |
2386 | 2367 | */ |
2387 | 2368 | public static function MINA() |
@@ -2421,7 +2402,6 @@ discard block |
||
2421 | 2402 | * |
2422 | 2403 | * @access public |
2423 | 2404 | * @category Mathematical and Trigonometric Functions |
2424 | - * @param mixed $arg,... Data values |
|
2425 | 2405 | * @param string $condition The criteria that defines which cells will be checked. |
2426 | 2406 | * @return float |
2427 | 2407 | */ |
@@ -2499,7 +2479,6 @@ discard block |
||
2499 | 2479 | * |
2500 | 2480 | * @access public |
2501 | 2481 | * @category Statistical Functions |
2502 | - * @param mixed $arg,... Data values |
|
2503 | 2482 | * @return float |
2504 | 2483 | */ |
2505 | 2484 | public static function MODE() |
@@ -2604,9 +2583,9 @@ discard block |
||
2604 | 2583 | * |
2605 | 2584 | * Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation. |
2606 | 2585 | * |
2607 | - * @param float $value |
|
2608 | 2586 | * @param float $mean Mean Value |
2609 | 2587 | * @param float $stdDev Standard Deviation |
2588 | + * @param double $probability |
|
2610 | 2589 | * @return float |
2611 | 2590 | * |
2612 | 2591 | */ |
@@ -2671,8 +2650,6 @@ discard block |
||
2671 | 2650 | * |
2672 | 2651 | * @access public |
2673 | 2652 | * @category Statistical Functions |
2674 | - * @param mixed $arg,... Data values |
|
2675 | - * @param float $entry Percentile value in the range 0..1, inclusive. |
|
2676 | 2653 | * @return float |
2677 | 2654 | */ |
2678 | 2655 | public static function PERCENTILE() |
@@ -2836,8 +2813,6 @@ discard block |
||
2836 | 2813 | * |
2837 | 2814 | * @access public |
2838 | 2815 | * @category Statistical Functions |
2839 | - * @param mixed $arg,... Data values |
|
2840 | - * @param int $entry Quartile value in the range 1..3, inclusive. |
|
2841 | 2816 | * @return float |
2842 | 2817 | */ |
2843 | 2818 | public static function QUARTILE() |
@@ -2999,8 +2974,6 @@ discard block |
||
2999 | 2974 | * |
3000 | 2975 | * @access public |
3001 | 2976 | * @category Statistical Functions |
3002 | - * @param mixed $arg,... Data values |
|
3003 | - * @param int $entry Position (ordered from the smallest) in the array or range of data to return |
|
3004 | 2977 | * @return float |
3005 | 2978 | */ |
3006 | 2979 | public static function SMALL() |
@@ -3067,7 +3040,6 @@ discard block |
||
3067 | 3040 | * |
3068 | 3041 | * @access public |
3069 | 3042 | * @category Statistical Functions |
3070 | - * @param mixed $arg,... Data values |
|
3071 | 3043 | * @return float |
3072 | 3044 | */ |
3073 | 3045 | public static function STDEV() |
@@ -3115,7 +3087,6 @@ discard block |
||
3115 | 3087 | * |
3116 | 3088 | * @access public |
3117 | 3089 | * @category Statistical Functions |
3118 | - * @param mixed $arg,... Data values |
|
3119 | 3090 | * @return float |
3120 | 3091 | */ |
3121 | 3092 | public static function STDEVA() |
@@ -3166,7 +3137,6 @@ discard block |
||
3166 | 3137 | * |
3167 | 3138 | * @access public |
3168 | 3139 | * @category Statistical Functions |
3169 | - * @param mixed $arg,... Data values |
|
3170 | 3140 | * @return float |
3171 | 3141 | */ |
3172 | 3142 | public static function STDEVP() |
@@ -3212,7 +3182,6 @@ discard block |
||
3212 | 3182 | * |
3213 | 3183 | * @access public |
3214 | 3184 | * @category Statistical Functions |
3215 | - * @param mixed $arg,... Data values |
|
3216 | 3185 | * @return float |
3217 | 3186 | */ |
3218 | 3187 | public static function STDEVPA() |
@@ -3445,8 +3414,6 @@ discard block |
||
3445 | 3414 | * |
3446 | 3415 | * @access public |
3447 | 3416 | * @category Statistical Functions |
3448 | - * @param mixed $arg,... Data values |
|
3449 | - * @param float $discard Percentage to discard |
|
3450 | 3417 | * @return float |
3451 | 3418 | */ |
3452 | 3419 | public static function TRIMMEAN() |
@@ -3489,7 +3456,6 @@ discard block |
||
3489 | 3456 | * |
3490 | 3457 | * @access public |
3491 | 3458 | * @category Statistical Functions |
3492 | - * @param mixed $arg,... Data values |
|
3493 | 3459 | * @return float |
3494 | 3460 | */ |
3495 | 3461 | public static function VARFunc() |
@@ -3532,7 +3498,6 @@ discard block |
||
3532 | 3498 | * |
3533 | 3499 | * @access public |
3534 | 3500 | * @category Statistical Functions |
3535 | - * @param mixed $arg,... Data values |
|
3536 | 3501 | * @return float |
3537 | 3502 | */ |
3538 | 3503 | public static function VARA() |
@@ -3584,7 +3549,6 @@ discard block |
||
3584 | 3549 | * |
3585 | 3550 | * @access public |
3586 | 3551 | * @category Statistical Functions |
3587 | - * @param mixed $arg,... Data values |
|
3588 | 3552 | * @return float |
3589 | 3553 | */ |
3590 | 3554 | public static function VARP() |
@@ -3628,7 +3592,6 @@ discard block |
||
3628 | 3592 | * |
3629 | 3593 | * @access public |
3630 | 3594 | * @category Statistical Functions |
3631 | - * @param mixed $arg,... Data values |
|
3632 | 3595 | * @return float |
3633 | 3596 | */ |
3634 | 3597 | public static function VARPA() |
@@ -3714,7 +3677,6 @@ discard block |
||
3714 | 3677 | * @param float $dataSet |
3715 | 3678 | * @param float $m0 Alpha Parameter |
3716 | 3679 | * @param float $sigma Beta Parameter |
3717 | - * @param boolean $cumulative |
|
3718 | 3680 | * @return float |
3719 | 3681 | * |
3720 | 3682 | */ |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * CHARACTER |
57 | 57 | * |
58 | 58 | * @param string $character Value |
59 | - * @return int |
|
59 | + * @return string |
|
60 | 60 | */ |
61 | 61 | public static function CHARACTER($character) |
62 | 62 | { |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | * This function converts a number to text using currency format, with the decimals rounded to the specified place. |
187 | 187 | * The format used is $#,##0.00_);($#,##0.00).. |
188 | 188 | * |
189 | - * @param float $value The value to format |
|
189 | + * @param integer $value The value to format |
|
190 | 190 | * @param int $decimals The number of digits to display to the right of the decimal point. |
191 | 191 | * If decimals is negative, number is rounded to the left of the decimal point. |
192 | 192 | * If you omit decimals, it is assumed to be 2 |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | * @param mixed $value Value to check |
300 | 300 | * @param integer $decimals |
301 | 301 | * @param boolean $no_commas |
302 | - * @return boolean |
|
302 | + * @return string |
|
303 | 303 | */ |
304 | 304 | public static function FIXEDFORMAT($value, $decimals = 2, $no_commas = false) |
305 | 305 | { |
@@ -418,7 +418,7 @@ discard block |
||
418 | 418 | * STRINGLENGTH |
419 | 419 | * |
420 | 420 | * @param string $value Value |
421 | - * @return string |
|
421 | + * @return integer |
|
422 | 422 | */ |
423 | 423 | public static function STRINGLENGTH($value = '') |
424 | 424 | { |
@@ -571,7 +571,7 @@ discard block |
||
571 | 571 | * RETURNSTRING |
572 | 572 | * |
573 | 573 | * @param mixed $testValue Value to check |
574 | - * @return boolean |
|
574 | + * @return string|null |
|
575 | 575 | */ |
576 | 576 | public static function RETURNSTRING($testValue = '') |
577 | 577 | { |
@@ -589,7 +589,7 @@ discard block |
||
589 | 589 | * |
590 | 590 | * @param mixed $value Value to check |
591 | 591 | * @param string $format Format mask to use |
592 | - * @return boolean |
|
592 | + * @return string |
|
593 | 593 | */ |
594 | 594 | public static function TEXTFORMAT($value, $format) |
595 | 595 | { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | /** |
94 | 94 | * Send notification to the cache controller |
95 | 95 | * |
96 | - * @return void |
|
96 | + * @return Cell |
|
97 | 97 | **/ |
98 | 98 | public function notifyCacheController() |
99 | 99 | { |
@@ -580,7 +580,7 @@ discard block |
||
580 | 580 | * Coordinate from string |
581 | 581 | * |
582 | 582 | * @param string $pCoordinateString |
583 | - * @return array Array containing column and row (indexes 0 and 1) |
|
583 | + * @return string[] Array containing column and row (indexes 0 and 1) |
|
584 | 584 | * @throws Exception |
585 | 585 | */ |
586 | 586 | public static function coordinateFromString($pCoordinateString = 'A1') |
@@ -760,7 +760,7 @@ discard block |
||
760 | 760 | * Calculate range boundaries |
761 | 761 | * |
762 | 762 | * @param string $pRange Cell range (e.g. A1:A1) |
763 | - * @return array Range coordinates array(Start Cell, End Cell) |
|
763 | + * @return integer Range coordinates array(Start Cell, End Cell) |
|
764 | 764 | * where Start Cell and End Cell are arrays (Column ID, Row Number) |
765 | 765 | */ |
766 | 766 | public static function getRangeBoundaries($pRange = 'A1:A1') |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | /** |
333 | 333 | * Set Shadow Properties |
334 | 334 | * |
335 | - * @param int $shadow_presets |
|
335 | + * @param int $sh_presets |
|
336 | 336 | * @param string $sh_color_value |
337 | 337 | * @param string $sh_color_type |
338 | 338 | * @param string $sh_color_alpha |
@@ -467,10 +467,6 @@ discard block |
||
467 | 467 | /** |
468 | 468 | * Get Glow Property |
469 | 469 | * |
470 | - * @param float $size |
|
471 | - * @param string $color_value |
|
472 | - * @param int $color_alpha |
|
473 | - * @param string $color_type |
|
474 | 470 | */ |
475 | 471 | public function getShadowProperty($elements) |
476 | 472 | { |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | /** |
181 | 181 | * Get Plot Grouping Type |
182 | 182 | * |
183 | - * @return string |
|
183 | + * @return boolean |
|
184 | 184 | */ |
185 | 185 | public function getPlotGrouping() |
186 | 186 | { |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | /** |
203 | 203 | * Get Plot Direction |
204 | 204 | * |
205 | - * @return string |
|
205 | + * @return boolean |
|
206 | 206 | */ |
207 | 207 | public function getPlotDirection() |
208 | 208 | { |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | /** |
345 | 345 | * Get Smooth Line |
346 | 346 | * |
347 | - * @return boolean |
|
347 | + * @return string |
|
348 | 348 | */ |
349 | 349 | public function getSmoothLine() |
350 | 350 | { |
@@ -82,6 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | /** |
84 | 84 | * Create a new DataSeriesValues object |
85 | + * @param string $dataSource |
|
85 | 86 | */ |
86 | 87 | public function __construct($dataType = self::DATASERIES_TYPE_NUMBER, $dataSource = null, $formatCode = null, $pointCount = 0, $dataValues = array(), $marker = null) |
87 | 88 | { |
@@ -211,7 +212,7 @@ discard block |
||
211 | 212 | /** |
212 | 213 | * Identify if the Data Series is a multi-level or a simple series |
213 | 214 | * |
214 | - * @return boolean |
|
215 | + * @return boolean|null |
|
215 | 216 | */ |
216 | 217 | public function isMultiLevelSeries() |
217 | 218 | { |
@@ -224,7 +225,7 @@ discard block |
||
224 | 225 | /** |
225 | 226 | * Return the level count of a multi-level Data Series |
226 | 227 | * |
227 | - * @return boolean |
|
228 | + * @return integer |
|
228 | 229 | */ |
229 | 230 | public function multiLevelCount() |
230 | 231 | { |
@@ -176,6 +176,7 @@ |
||
176 | 176 | * Set Layout Target |
177 | 177 | * |
178 | 178 | * @param Layout Target $value |
179 | + * @param string $value |
|
179 | 180 | * @return Layout |
180 | 181 | */ |
181 | 182 | public function setLayoutTarget($value) |
@@ -116,11 +116,17 @@ discard block |
||
116 | 116 | SHADOW_PRESETS_PERSPECTIVE_LOWER_RIGHT = 22, |
117 | 117 | SHADOW_PRESETS_PERSPECTIVE_LOWER_LEFT = 23; |
118 | 118 | |
119 | + /** |
|
120 | + * @param double $width |
|
121 | + */ |
|
119 | 122 | protected function getExcelPointsWidth($width) |
120 | 123 | { |
121 | 124 | return $width * 12700; |
122 | 125 | } |
123 | 126 | |
127 | + /** |
|
128 | + * @param integer $angle |
|
129 | + */ |
|
124 | 130 | protected function getExcelPointsAngle($angle) |
125 | 131 | { |
126 | 132 | return $angle * 60000; |
@@ -131,6 +137,11 @@ discard block |
||
131 | 137 | return (string) 100 - $alpha . '000'; |
132 | 138 | } |
133 | 139 | |
140 | + /** |
|
141 | + * @param string $color |
|
142 | + * @param integer $alpha |
|
143 | + * @param string $type |
|
144 | + */ |
|
134 | 145 | protected function setColorProperties($color, $alpha, $type) |
135 | 146 | { |
136 | 147 | return array( |
@@ -140,6 +151,9 @@ discard block |
||
140 | 151 | ); |
141 | 152 | } |
142 | 153 | |
154 | + /** |
|
155 | + * @param string $array_kay_selector |
|
156 | + */ |
|
143 | 157 | protected function getLineStyleArrowSize($array_selector, $array_kay_selector) |
144 | 158 | { |
145 | 159 | $sizes = array( |
@@ -157,6 +171,9 @@ discard block |
||
157 | 171 | return $sizes[$array_selector][$array_kay_selector]; |
158 | 172 | } |
159 | 173 | |
174 | + /** |
|
175 | + * @param integer $shadow_presets_option |
|
176 | + */ |
|
160 | 177 | protected function getShadowPresetsMap($shadow_presets_option) |
161 | 178 | { |
162 | 179 | $presets_options = array( |
@@ -65,6 +65,9 @@ discard block |
||
65 | 65 | private static $plotMark = 0; |
66 | 66 | |
67 | 67 | |
68 | + /** |
|
69 | + * @param string $markerID |
|
70 | + */ |
|
68 | 71 | private function formatPointMarker($seriesPlot, $markerID) |
69 | 72 | { |
70 | 73 | $plotMarkKeys = array_keys(self::$markSet); |
@@ -93,6 +96,9 @@ discard block |
||
93 | 96 | } |
94 | 97 | |
95 | 98 | |
99 | + /** |
|
100 | + * @param integer $labelCount |
|
101 | + */ |
|
96 | 102 | private function formatDataSetLabels($groupID, $datasetLabels, $labelCount, $rotation = '') |
97 | 103 | { |
98 | 104 | $datasetLabelFormatCode = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getFormatCode(); |
@@ -123,6 +129,9 @@ discard block |
||
123 | 129 | } |
124 | 130 | |
125 | 131 | |
132 | + /** |
|
133 | + * @param integer $seriesCount |
|
134 | + */ |
|
126 | 135 | private function percentageSumCalculation($groupID, $seriesCount) |
127 | 136 | { |
128 | 137 | // Adjust our values to a percentage value across all series in the group |
@@ -155,6 +164,9 @@ discard block |
||
155 | 164 | } |
156 | 165 | |
157 | 166 | |
167 | + /** |
|
168 | + * @param \PHPExcel\Chart\Title $captionElement |
|
169 | + */ |
|
158 | 170 | private function getCaption($captionElement) |
159 | 171 | { |
160 | 172 | // Read any caption |
@@ -267,6 +279,9 @@ discard block |
||
267 | 279 | } |
268 | 280 | |
269 | 281 | |
282 | + /** |
|
283 | + * @param integer $groupID |
|
284 | + */ |
|
270 | 285 | private function renderPlotLine($groupID, $filled = false, $combination = false, $dimensions = '2d') |
271 | 286 | { |
272 | 287 | $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); |
@@ -331,6 +346,9 @@ discard block |
||
331 | 346 | } |
332 | 347 | |
333 | 348 | |
349 | + /** |
|
350 | + * @param integer $groupID |
|
351 | + */ |
|
334 | 352 | private function renderPlotBar($groupID, $dimensions = '2d') |
335 | 353 | { |
336 | 354 | $rotation = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotDirection(); |
@@ -417,6 +435,10 @@ discard block |
||
417 | 435 | } |
418 | 436 | |
419 | 437 | |
438 | + /** |
|
439 | + * @param integer $groupID |
|
440 | + * @param boolean $bubble |
|
441 | + */ |
|
420 | 442 | private function renderPlotScatter($groupID, $bubble) |
421 | 443 | { |
422 | 444 | $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); |
@@ -463,6 +485,9 @@ discard block |
||
463 | 485 | } |
464 | 486 | |
465 | 487 | |
488 | + /** |
|
489 | + * @param integer $groupID |
|
490 | + */ |
|
466 | 491 | private function renderPlotRadar($groupID) |
467 | 492 | { |
468 | 493 | $radarStyle = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); |
@@ -502,6 +527,9 @@ discard block |
||
502 | 527 | } |
503 | 528 | |
504 | 529 | |
530 | + /** |
|
531 | + * @param integer $groupID |
|
532 | + */ |
|
505 | 533 | private function renderPlotContour($groupID) |
506 | 534 | { |
507 | 535 | $contourStyle = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); |
@@ -523,6 +551,9 @@ discard block |
||
523 | 551 | } |
524 | 552 | |
525 | 553 | |
554 | + /** |
|
555 | + * @param integer $groupID |
|
556 | + */ |
|
526 | 557 | private function renderPlotStock($groupID) |
527 | 558 | { |
528 | 559 | $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); |
@@ -563,6 +594,9 @@ discard block |
||
563 | 594 | } |
564 | 595 | |
565 | 596 | |
597 | + /** |
|
598 | + * @param integer $groupCount |
|
599 | + */ |
|
566 | 600 | private function renderAreaChart($groupCount, $dimensions = '2d') |
567 | 601 | { |
568 | 602 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_line.php'); |
@@ -575,6 +609,9 @@ discard block |
||
575 | 609 | } |
576 | 610 | |
577 | 611 | |
612 | + /** |
|
613 | + * @param integer $groupCount |
|
614 | + */ |
|
578 | 615 | private function renderLineChart($groupCount, $dimensions = '2d') |
579 | 616 | { |
580 | 617 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_line.php'); |
@@ -587,6 +624,9 @@ discard block |
||
587 | 624 | } |
588 | 625 | |
589 | 626 | |
627 | + /** |
|
628 | + * @param integer $groupCount |
|
629 | + */ |
|
590 | 630 | private function renderBarChart($groupCount, $dimensions = '2d') |
591 | 631 | { |
592 | 632 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_bar.php'); |
@@ -599,6 +639,9 @@ discard block |
||
599 | 639 | } |
600 | 640 | |
601 | 641 | |
642 | + /** |
|
643 | + * @param integer $groupCount |
|
644 | + */ |
|
602 | 645 | private function renderScatterChart($groupCount) |
603 | 646 | { |
604 | 647 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_scatter.php'); |
@@ -613,6 +656,9 @@ discard block |
||
613 | 656 | } |
614 | 657 | |
615 | 658 | |
659 | + /** |
|
660 | + * @param integer $groupCount |
|
661 | + */ |
|
616 | 662 | private function renderBubbleChart($groupCount) |
617 | 663 | { |
618 | 664 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_scatter.php'); |
@@ -625,6 +671,9 @@ discard block |
||
625 | 671 | } |
626 | 672 | |
627 | 673 | |
674 | + /** |
|
675 | + * @param integer $groupCount |
|
676 | + */ |
|
628 | 677 | private function renderPieChart($groupCount, $dimensions = '2d', $doughnut = false, $multiplePlots = false) |
629 | 678 | { |
630 | 679 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_pie.php'); |
@@ -702,6 +751,9 @@ discard block |
||
702 | 751 | } |
703 | 752 | |
704 | 753 | |
754 | + /** |
|
755 | + * @param integer $groupCount |
|
756 | + */ |
|
705 | 757 | private function renderRadarChart($groupCount) |
706 | 758 | { |
707 | 759 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_radar.php'); |
@@ -714,6 +766,9 @@ discard block |
||
714 | 766 | } |
715 | 767 | |
716 | 768 | |
769 | + /** |
|
770 | + * @param integer $groupCount |
|
771 | + */ |
|
717 | 772 | private function renderStockChart($groupCount) |
718 | 773 | { |
719 | 774 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_stock.php'); |
@@ -726,6 +781,10 @@ discard block |
||
726 | 781 | } |
727 | 782 | |
728 | 783 | |
784 | + /** |
|
785 | + * @param integer $groupCount |
|
786 | + * @param string|null $dimensions |
|
787 | + */ |
|
729 | 788 | private function renderContourChart($groupCount, $dimensions) |
730 | 789 | { |
731 | 790 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_contour.php'); |
@@ -738,6 +797,9 @@ discard block |
||
738 | 797 | } |
739 | 798 | |
740 | 799 | |
800 | + /** |
|
801 | + * @param integer $groupCount |
|
802 | + */ |
|
741 | 803 | private function renderCombinationChart($groupCount, $dimensions, $outputDestination) |
742 | 804 | { |
743 | 805 | require_once(\PHPExcel\Settings::getChartRendererPath().'jpgraph_line.php'); |