From eb5fafaf5f1be2a5f47aa7e9893b19d026f22f3a Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 17 Aug 2010 14:37:33 +0000 Subject: [PATCH] Updated chart generation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19405 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/generic/statistics/class_statistics.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc index 384af4b49..3f69ca1df 100644 --- a/gosa-core/plugins/generic/statistics/class_statistics.inc +++ b/gosa-core/plugins/generic/statistics/class_statistics.inc @@ -193,7 +193,7 @@ class statistics extends plugin $DataSet2->RemoveSerie('date'); $Test2 = new pChart(700,230); - $Test2->setFixedScale(1,$max); + $Test2->setFixedScale(0.0001,$max); $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); @@ -210,8 +210,7 @@ class statistics extends plugin // Draw the cubic curve graph if(count($dataArray)){ - $Test2->drawFilledCubicCurve($DataSet2->GetData(),$DataSet2->GetDataDescription(),.1,20); - # $Test2->drawLineGraph($DataSet2->GetData(),$DataSet2->GetDataDescription()); + $Test2->drawFilledLineGraph($DataSet2->GetData(),$DataSet2->GetDataDescription(),50,TRUE); $Test2->drawLegend(600,30,$DataSet2->GetDataDescription(),255,255,255); } -- 2.30.2