From 5240d3f4dde5ba81ed738ad980f548db6d1cca91 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville <rodolphe@quiedeville.org> Date: Thu, 20 Oct 2005 19:24:47 +0000 Subject: [PATCH] Modif espace de dessin --- htdocs/telephonie/stats/graph/bar.class.php | 8 ++++---- htdocs/telephonie/stats/graph/brouzouf.class.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/telephonie/stats/graph/bar.class.php b/htdocs/telephonie/stats/graph/bar.class.php index b6b24893cd3..c061505df52 100644 --- a/htdocs/telephonie/stats/graph/bar.class.php +++ b/htdocs/telephonie/stats/graph/bar.class.php @@ -56,7 +56,7 @@ class GraphBar extends DolibarrGraph { $graph->SetFrame($this->showframe); - $graph->img->SetMargin(40,20,20,35); + $graph->img->SetMargin(50,20,20,35); if ($this->type == 'LinePlot') { @@ -70,7 +70,7 @@ class GraphBar extends DolibarrGraph { $b2plot->SetFillColor($this->barcolor); $graph->xaxis->scale->SetGrace(20); - + /* $LabelAngle = 0; if ($this->LabelAngle <> $LabelAngle && strlen($this->LabelAngle) > 0) @@ -81,7 +81,7 @@ class GraphBar extends DolibarrGraph { $graph->xaxis->SetLabelAngle($LabelAngle); $graph->xaxis->SetFont(FF_VERDANA,FS_NORMAL,7); } - + */ $graph->title->Set($this->titre); //$graph->title->SetFont(FF_VERDANA,FS_NORMAL); @@ -112,7 +112,7 @@ class GraphBar extends DolibarrGraph { // Draw a text box in the middle $txt = "Donn�es manquantes !"; $t = new Text($txt,ceil($width / 2),ceil($height/2)); - $t->SetFont(FF_VERDANA, FS_BOLD, 10); + //$t->SetFont(FF_VERDANA, FS_BOLD, 10); // How should the text box interpret the coordinates? $t->Align('center','top'); diff --git a/htdocs/telephonie/stats/graph/brouzouf.class.php b/htdocs/telephonie/stats/graph/brouzouf.class.php index 6b88b301538..d0b8026f9fb 100644 --- a/htdocs/telephonie/stats/graph/brouzouf.class.php +++ b/htdocs/telephonie/stats/graph/brouzouf.class.php @@ -46,7 +46,7 @@ class GraphBrouzouf { $graph->yaxis->scale->SetGrace(20); - $graph->img->SetMargin(60,20,20,40); + $graph->img->SetMargin(50,20,20,40); if ($this->type == 'LinePlot') { -- GitLab