summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rwxr-xr-xapplication/controllers/StatisticsController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/controllers/StatisticsController.php b/application/controllers/StatisticsController.php
index b98acf4..66141c8 100755
--- a/application/controllers/StatisticsController.php
+++ b/application/controllers/StatisticsController.php
@@ -56,7 +56,7 @@ class StatisticsController extends Zend_Controller_Action
} else {
$eventList = $this->eventMapper->findBy(array("pbs_membershipID", $this->userIDsNamespace['membershipID']));
}
-
+ // 1 = barPlot 2 = piePlot
$ret['dataBar'] = $this->eventMapper->getCategoryPlotdata($poolID, 1);
$ret['dataPie'] = $this->eventMapper->getCategoryPlotdata($poolID, 2);
$ret['color'] = $this->eventcategoryMapper->getCategoryColor($poolID, null);
@@ -80,7 +80,7 @@ class StatisticsController extends Zend_Controller_Action
} else {
$eventList = $this->eventMapper->findBy(array("pbs_membershipID", $this->userIDsNamespace['membershipID']));
}
-
+ // 1 = barPlot 2 = piePlot
$ret['dataBar'] = $this->eventMapper->getRunningPlotdata($poolID, 1);
$ret['dataPie'] = $this->eventMapper->getRunningPlotdata($poolID, 2);
@@ -103,7 +103,7 @@ class StatisticsController extends Zend_Controller_Action
} else {
$eventList = $this->eventMapper->findBy(array("pbs_membershipID", $this->userIDsNamespace['membershipID']));
}
-
+ // 1 = barPlot 2 = piePlot
$ret['dataBar'] = $this->eventreportMapper->getSuccessPlotdata($poolID, 1);
$ret['dataPieS'] = $this->eventreportMapper->getSuccessPlotdata($poolID, 2);
@@ -126,7 +126,7 @@ class StatisticsController extends Zend_Controller_Action
} else {
$eventList = $this->eventMapper->findBy(array("pbs_membershipID", $this->userIDsNamespace['membershipID']));
}
-
+ // 1 = barPlot 2 = piePlot
$ret['dataBar'] = $this->eventMapper->getTypePlotdata($poolID, 1);
$ret['dataPie'] = $this->eventMapper->getTypePlotdata($poolID, 2);