diff --git a/htdocs/telephonie/stats/graph/bar.class.php b/htdocs/telephonie/stats/graph/bar.class.php index b6b24893cd3321b9739fd47804dbd1522e68e990..c061505df52372d36da22307ddf7b919cdc8a5d1 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 6b88b3015381796e6337b293f8737ca349cfe1d0..d0b8026f9fbf9cb1698b4429aea82bd40cf535d5 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') {