From: hickert Date: Thu, 12 Aug 2010 15:59:22 +0000 (+0000) Subject: Updated statistics plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4e2dbfc0732f45db3402c2ac4df9b11c8c9ccbcb;p=gosa.git Updated statistics plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19388 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc index f68060132..a0a81ccde 100644 --- a/gosa-core/plugins/generic/statistics/class_statistics.inc +++ b/gosa-core/plugins/generic/statistics/class_statistics.inc @@ -88,7 +88,7 @@ class statistics extends plugin // Initialise the graph $Test = new pChart(400,200); - $Test->setFontProperties("./themes/default/fonts/LiberationSans-Regular.ttf",8); + $Test->setFontProperties("./themes/default/fonts/LiberationSans-Regular.ttf",10); $Test->drawPieGraph($DataSet->GetData(),$DataSet->GetDataDescription(),150,90,110,PIE_PERCENTAGE,TRUE,50,20,5); $Test->drawPieLegend(310,15,$DataSet->GetData(),$DataSet->GetDataDescription(),200,255,200); @@ -153,7 +153,7 @@ class statistics extends plugin $Test2 = new pChart(700,230); $Test2->setFixedScale(0,$max); - $Test2->setFontProperties("./themes/default/fonts/LiberationSans-Regular.ttf",8); + $Test2->setFontProperties("./themes/default/fonts/LiberationSans-Regular.ttf",10); $Test2->setGraphArea(50,30,585,200); $Test2->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240); $Test2->drawRoundedRectangle(5,5,695,225,5,230,230,230); @@ -166,7 +166,8 @@ class statistics extends plugin // Draw the cubic curve graph # $Test2->drawBarGraph($DataSet2->GetData(),$DataSet2->GetDataDescription(),TRUE); - $Test2->drawLineGraph($DataSet2->GetData(),$DataSet2->GetDataDescription(),TRUE); +# $Test2->drawLineGraph($DataSet2->GetData(),$DataSet2->GetDataDescription(),TRUE); + $Test2->drawFilledLineGraph($DataSet2->GetData(),$DataSet2->GetDataDescription(),50,TRUE); // Finish the graph $DataSet2->RemoveSerie('date');