summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d843df4)
raw | patch | inline | side by side (parent: d843df4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 26 Aug 2010 08:22:54 +0000 (08:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 26 Aug 2010 08:22:54 +0000 (08:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19457 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/statistics/chartClasses/class_actionSelectChart.inc | patch | blob | history |
diff --git a/gosa-core/plugins/generic/statistics/chartClasses/class_actionSelectChart.inc b/gosa-core/plugins/generic/statistics/chartClasses/class_actionSelectChart.inc
index 35ea8fe38cc4096f6b2f5eaa17a55716e93c0290..2fecae2d431d2c639cb3603b5501e426e6d1e053 100644 (file)
class actionSelectChart extends statChart
{
- protected $title = 'Plugin usage over time';
+ protected $title = 'Action count per plugin';
+ protected $current_action = "";
function __construct(&$config)
{
$dataSet = new pData;
$seriesCnt = 0;
+ if(!isset($gData['actionsAndCategoryPerInterval'][$this->current_action])){
+ $this->current_action = key($gData['actionsAndCategoryPerInterval']);
+ }
+
$dataBase = $gData['actionsAndCategoryPerInterval'][$this->current_action];
foreach($dataBase as $category => $entriesPerDate){