From: hickert Date: Tue, 24 Aug 2010 13:59:56 +0000 (+0000) Subject: Renamed function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c0d7e7a947ee66a34e705ca57d721f1addf06211;p=gosa.git Renamed function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19437 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc index 6be91261b..eb55d4201 100644 --- a/gosa-core/plugins/generic/statistics/class_statistics.inc +++ b/gosa-core/plugins/generic/statistics/class_statistics.inc @@ -343,8 +343,8 @@ class statistics extends plugin if(!count($gData)){ return; } - $this->generateCategoryPieGraph($gData['actionsPerCategory'], 1, _("Plugin usage")); - $this->generateCategoryPieGraph($gData['actionsPerPluginAction'], 7,_("Actions")); + $this->generatePieGraph($gData['actionsPerCategory'], 1, _("Plugin usage")); + $this->generatePieGraph($gData['actionsPerPluginAction'], 7,_("Actions")); $this->generateActionsGraph($gData); # // Generate graph which displays the memory usage over time @@ -455,6 +455,7 @@ class statistics extends plugin $dataSet->AddSerie('Errors'); } + $chart->drawLegend(750,30,$dataSet->GetDataDescription(),255,255,255); // Draw the error graph on top of the other graphs now. // But remove the category-graph before. @@ -531,7 +532,7 @@ class statistics extends plugin /*! \brief Generate the pie-chart which displays the overall-plugin-usage */ - function generateCategoryPieGraph($data, $gID, $title) + function generatePieGraph($data, $gID, $title) { $this->graphIDs[$gID] = 0; if(!count($data)) return;