summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 62e6833)
raw | patch | inline | side by side (parent: 62e6833)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Aug 2010 15:59:22 +0000 (15:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Aug 2010 15:59:22 +0000 (15:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19388 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/statistics/class_statistics.inc | patch | blob | history |
diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc
index f6806013287b7e6df94151d96f4b180c4a8f996f..a0a81ccdef20203c7f836e7d9bf6e69292e85a62 100644 (file)
// 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);
$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);
// 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');