@@ -76,6 +76,9 @@ discard block |
||
76 | 76 | $loaded = true; |
77 | 77 | } |
78 | 78 | |
79 | + /** |
|
80 | + * @param string $markerID |
|
81 | + */ |
|
79 | 82 | private function formatPointMarker($seriesPlot, $markerID) |
80 | 83 | { |
81 | 84 | $plotMarkKeys = array_keys(self::$markSet); |
@@ -103,6 +106,9 @@ discard block |
||
103 | 106 | return $seriesPlot; |
104 | 107 | } |
105 | 108 | |
109 | + /** |
|
110 | + * @param integer $labelCount |
|
111 | + */ |
|
106 | 112 | private function formatDataSetLabels($groupID, $datasetLabels, $labelCount, $rotation = '') |
107 | 113 | { |
108 | 114 | $datasetLabelFormatCode = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getFormatCode(); |
@@ -132,6 +138,9 @@ discard block |
||
132 | 138 | return $datasetLabels; |
133 | 139 | } |
134 | 140 | |
141 | + /** |
|
142 | + * @param integer $seriesCount |
|
143 | + */ |
|
135 | 144 | private function percentageSumCalculation($groupID, $seriesCount) |
136 | 145 | { |
137 | 146 | // Adjust our values to a percentage value across all series in the group |
@@ -162,6 +171,9 @@ discard block |
||
162 | 171 | return $dataValues; |
163 | 172 | } |
164 | 173 | |
174 | + /** |
|
175 | + * @param Chart\Title $captionElement |
|
176 | + */ |
|
165 | 177 | private function getCaption($captionElement) |
166 | 178 | { |
167 | 179 | // Read any caption |
@@ -272,6 +284,9 @@ discard block |
||
272 | 284 | $this->renderTitle(); |
273 | 285 | } |
274 | 286 | |
287 | + /** |
|
288 | + * @param integer $groupID |
|
289 | + */ |
|
275 | 290 | private function renderPlotLine($groupID, $filled = false, $combination = false, $dimensions = '2d') |
276 | 291 | { |
277 | 292 | $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); |
@@ -335,6 +350,9 @@ discard block |
||
335 | 350 | $this->graph->Add($groupPlot); |
336 | 351 | } |
337 | 352 | |
353 | + /** |
|
354 | + * @param integer $groupID |
|
355 | + */ |
|
338 | 356 | private function renderPlotBar($groupID, $dimensions = '2d') |
339 | 357 | { |
340 | 358 | $rotation = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotDirection(); |
@@ -419,6 +437,10 @@ discard block |
||
419 | 437 | $this->graph->Add($groupPlot); |
420 | 438 | } |
421 | 439 | |
440 | + /** |
|
441 | + * @param integer $groupID |
|
442 | + * @param boolean $bubble |
|
443 | + */ |
|
422 | 444 | private function renderPlotScatter($groupID, $bubble) |
423 | 445 | { |
424 | 446 | $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); |
@@ -464,6 +486,9 @@ discard block |
||
464 | 486 | } |
465 | 487 | } |
466 | 488 | |
489 | + /** |
|
490 | + * @param integer $groupID |
|
491 | + */ |
|
467 | 492 | private function renderPlotRadar($groupID) |
468 | 493 | { |
469 | 494 | $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(); |
@@ -522,6 +550,9 @@ discard block |
||
522 | 550 | $this->graph->Add($seriesPlot); |
523 | 551 | } |
524 | 552 | |
553 | + /** |
|
554 | + * @param integer $groupID |
|
555 | + */ |
|
525 | 556 | private function renderPlotStock($groupID) |
526 | 557 | { |
527 | 558 | $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); |
@@ -561,6 +592,9 @@ discard block |
||
561 | 592 | $this->graph->Add($seriesPlot); |
562 | 593 | } |
563 | 594 | |
595 | + /** |
|
596 | + * @param integer $groupCount |
|
597 | + */ |
|
564 | 598 | private function renderAreaChart($groupCount, $dimensions = '2d') |
565 | 599 | { |
566 | 600 | $this->renderCartesianPlotArea(); |
@@ -570,6 +604,9 @@ discard block |
||
570 | 604 | } |
571 | 605 | } |
572 | 606 | |
607 | + /** |
|
608 | + * @param integer $groupCount |
|
609 | + */ |
|
573 | 610 | private function renderLineChart($groupCount, $dimensions = '2d') |
574 | 611 | { |
575 | 612 | $this->renderCartesianPlotArea(); |
@@ -579,6 +616,9 @@ discard block |
||
579 | 616 | } |
580 | 617 | } |
581 | 618 | |
619 | + /** |
|
620 | + * @param integer $groupCount |
|
621 | + */ |
|
582 | 622 | private function renderBarChart($groupCount, $dimensions = '2d') |
583 | 623 | { |
584 | 624 | $this->renderCartesianPlotArea(); |
@@ -588,6 +628,9 @@ discard block |
||
588 | 628 | } |
589 | 629 | } |
590 | 630 | |
631 | + /** |
|
632 | + * @param integer $groupCount |
|
633 | + */ |
|
591 | 634 | private function renderScatterChart($groupCount) |
592 | 635 | { |
593 | 636 | $this->renderCartesianPlotArea('linlin'); |
@@ -597,6 +640,9 @@ discard block |
||
597 | 640 | } |
598 | 641 | } |
599 | 642 | |
643 | + /** |
|
644 | + * @param integer $groupCount |
|
645 | + */ |
|
600 | 646 | private function renderBubbleChart($groupCount) |
601 | 647 | { |
602 | 648 | $this->renderCartesianPlotArea('linlin'); |
@@ -606,6 +652,9 @@ discard block |
||
606 | 652 | } |
607 | 653 | } |
608 | 654 | |
655 | + /** |
|
656 | + * @param integer $groupCount |
|
657 | + */ |
|
609 | 658 | private function renderPieChart($groupCount, $dimensions = '2d', $doughnut = false, $multiplePlots = false) |
610 | 659 | { |
611 | 660 | $this->renderPiePlotArea($doughnut); |
@@ -677,6 +726,9 @@ discard block |
||
677 | 726 | } |
678 | 727 | } |
679 | 728 | |
729 | + /** |
|
730 | + * @param integer $groupCount |
|
731 | + */ |
|
680 | 732 | private function renderRadarChart($groupCount) |
681 | 733 | { |
682 | 734 | $this->renderRadarPlotArea(); |
@@ -686,6 +738,9 @@ discard block |
||
686 | 738 | } |
687 | 739 | } |
688 | 740 | |
741 | + /** |
|
742 | + * @param integer $groupCount |
|
743 | + */ |
|
689 | 744 | private function renderStockChart($groupCount) |
690 | 745 | { |
691 | 746 | $this->renderCartesianPlotArea('intint'); |
@@ -695,6 +750,10 @@ discard block |
||
695 | 750 | } |
696 | 751 | } |
697 | 752 | |
753 | + /** |
|
754 | + * @param integer $groupCount |
|
755 | + * @param string|null $dimensions |
|
756 | + */ |
|
698 | 757 | private function renderContourChart($groupCount, $dimensions) |
699 | 758 | { |
700 | 759 | $this->renderCartesianPlotArea('intint'); |
@@ -704,6 +763,10 @@ discard block |
||
704 | 763 | } |
705 | 764 | } |
706 | 765 | |
766 | + /** |
|
767 | + * @param integer $groupCount |
|
768 | + * @param string $outputDestination |
|
769 | + */ |
|
707 | 770 | private function renderCombinationChart($groupCount, $dimensions, $outputDestination) |
708 | 771 | { |
709 | 772 | $this->renderCartesianPlotArea(); |