@@ 618-621 (lines=4) @@ | ||
615 | $exploded = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); |
|
616 | if ($groupID == 0) { |
|
617 | $labelCount = count($this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); |
|
618 | if ($labelCount > 0) { |
|
619 | $datasetLabels = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); |
|
620 | $datasetLabels = $this->formatDataSetLabels($groupID, $datasetLabels, $labelCount); |
|
621 | } |
|
622 | } |
|
623 | ||
624 | $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); |
|
@@ 279-283 (lines=5) @@ | ||
276 | $grouping = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); |
|
277 | ||
278 | $labelCount = count($this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); |
|
279 | if ($labelCount > 0) { |
|
280 | $datasetLabels = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); |
|
281 | $datasetLabels = $this->formatDataSetLabels($groupID, $datasetLabels, $labelCount); |
|
282 | $this->graph->xaxis->SetTickLabels($datasetLabels); |
|
283 | } |
|
284 | ||
285 | $seriesCount = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); |
|
286 | $seriesPlots = []; |
|
@@ 551-555 (lines=5) @@ | ||
548 | ||
549 | // Set the x-axis labels |
|
550 | $labelCount = count($this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); |
|
551 | if ($labelCount > 0) { |
|
552 | $datasetLabels = $this->chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); |
|
553 | $datasetLabels = $this->formatDataSetLabels($groupID, $datasetLabels, $labelCount); |
|
554 | $this->graph->xaxis->SetTickLabels($datasetLabels); |
|
555 | } |
|
556 | ||
557 | $seriesPlot = new \StockPlot($dataValuesPlot); |
|
558 | $seriesPlot->SetWidth(20); |