summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 698feff)
raw | patch | inline | side by side (parent: 698feff)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Aug 2010 10:09:29 +0000 (10:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Aug 2010 10:09:29 +0000 (10:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19417 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 4f834d3fe493ca2bd84583cf81c563cedf6a9b97..8c5d59258bb5215d95b6aa22254f43376dd51d20 100644 (file)
if($count) $count = ($count);
$dataArray[$category][$date] = $count;
}
-
-
+
// Do not append empty data
if(empty($category)) continue;
$errors[$date] = $count;
}
+ ksort($errors);
+
$DataSet2->AddPoint($errors, 'Errors');
$DataSet2->SetSerieName(_('Error'), 'Errors');
$DataSet2->AddSerie('Errors');
-
-
-
-
-
-
-
-
-
-
-
-
-
// Prepare Data
$graphData = array();
foreach($res['usagePerInterval'] as $dateStr => $data){