Code

Updated category usage over time plugin
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Aug 2010 15:27:57 +0000 (15:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Aug 2010 15:27:57 +0000 (15:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19446 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/statistics/chartClasses/class_categoryActionOverTime.inc
gosa-core/plugins/generic/statistics/chartClasses/class_statChart.inc

index a82c3fa7772212ee81477c06a55b91b3aa6b0ee0..dad7dbe8251c4dd7796d985230299bde89d06a99 100644 (file)
@@ -3,7 +3,7 @@
 class categoryActionsOverTime extends statChart
 {
     var $title = 'Plugin usage over time';
-    var $enableCaching = TRUE;
+    var $enableCaching = FALSE;
 
     function __construct(&$config)
     {
@@ -70,7 +70,7 @@ class categoryActionsOverTime extends statChart
         $chart = new pChart(900,230);  
         $chart->setFixedScale(0.000,$lineMax);
         $chart->setFontProperties("./themes/default/fonts/LiberationSans-Regular.ttf",10);  
-        $chart->setGraphArea(50,8,830,200);  
+        $chart->setGraphArea(50,28,630,200);  
         $chart->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);  
         $chart->drawRoundedRectangle(5,5,695,225,5,230,230,230);  
         $chart->drawGraphArea(255,255,255,TRUE);  
@@ -98,7 +98,7 @@ class categoryActionsOverTime extends statChart
             $dataSet->AddSerie('Errors');
         }
 
-        $chart->drawLegend(750,30,$dataSet->GetDataDescription(),255,255,255);
+        $chart->drawLegend(720,0,$dataSet->GetDataDescription(),255,255,255);
 
         // Draw the error graph on top of the other graphs now.
         // But remove the category-graph before. 
index c8ee4be81e2f46b7e4b9aaa3db5f8535ef4f78c9..4028b160d48cd8cbdef90cf680677dad9cbb82f0 100644 (file)
@@ -10,11 +10,8 @@ class statChart{
     var $graphData = array();    
     var $graphID = 0;
     var $enableCaching = TRUE;
-    
     var $skipSeries = array();
-
     var $graphName = 0;
-
     var $seriesList = array();
 
     function __construct(&$config,$gData = array())