From 22fdaa6e3a73fd0975d3ca93d17dbf4e1690b162 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 24 Aug 2010 15:27:57 +0000 Subject: [PATCH] Updated category usage over time plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19446 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../chartClasses/class_categoryActionOverTime.inc | 6 +++--- .../generic/statistics/chartClasses/class_statChart.inc | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/gosa-core/plugins/generic/statistics/chartClasses/class_categoryActionOverTime.inc b/gosa-core/plugins/generic/statistics/chartClasses/class_categoryActionOverTime.inc index a82c3fa77..dad7dbe82 100644 --- a/gosa-core/plugins/generic/statistics/chartClasses/class_categoryActionOverTime.inc +++ b/gosa-core/plugins/generic/statistics/chartClasses/class_categoryActionOverTime.inc @@ -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. diff --git a/gosa-core/plugins/generic/statistics/chartClasses/class_statChart.inc b/gosa-core/plugins/generic/statistics/chartClasses/class_statChart.inc index c8ee4be81..4028b160d 100644 --- a/gosa-core/plugins/generic/statistics/chartClasses/class_statChart.inc +++ b/gosa-core/plugins/generic/statistics/chartClasses/class_statChart.inc @@ -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()) -- 2.30.2