summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 44d1f91)
raw | patch | inline | side by side (parent: 44d1f91)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Aug 2010 13:59:56 +0000 (13:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Aug 2010 13:59:56 +0000 (13:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19437 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/statistics/class_statistics.inc | patch | blob | history |
diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc
index 6be91261bc1e9026bffb4931933ddbc36d31a7b5..eb55d4201d7c6713ac3e4d368a3a89e43f448989 100644 (file)
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
$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.
/*! \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;