Modif espace de dessin

This commit is contained in:
Rodolphe Quiedeville 2005-10-20 19:24:47 +00:00
parent 3423a38639
commit 5240d3f4dd
2 changed files with 5 additions and 5 deletions

View File

@ -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');

View File

@ -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')
{