Maj pour release
This commit is contained in:
parent
5efa8f4775
commit
05b7fdc28f
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/dolgraph.class.php
|
\file htdocs/dolgraph.class.php
|
||||||
\brief Fichier de la classe m<EFBFBD>re de gestion des graph phplot
|
\brief Fichier de la classe mere de gestion des graph phplot
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
\remarks Usage:
|
\remarks Usage:
|
||||||
$graph_data = array(array('labelA',yA),array('labelB',yB));
|
$graph_data = array(array('labelA',yA),array('labelB',yB));
|
||||||
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
\class Graph
|
\class Graph
|
||||||
\brief Classe m<EFBFBD>re permettant la gestion des graph
|
\brief Classe mere permettant la gestion des graph
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class DolGraph
|
class DolGraph
|
||||||
@ -88,7 +88,7 @@ class DolGraph
|
|||||||
}
|
}
|
||||||
if (! $isgdinstalled)
|
if (! $isgdinstalled)
|
||||||
{
|
{
|
||||||
$this->error="Erreur: Le module GD pour php ne semble pas disponible. Il est requis pour g<EFBFBD>n<EFBFBD>rer les graphiques.";
|
$this->error="Erreur: Le module GD pour php ne semble pas disponible. Il est requis pour generer les graphiques.";
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ class DolGraph
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief G<EFBFBD>n<EFBFBD>re le fichier graphique sur le disque
|
* \brief Genere le fichier graphique sur le disque
|
||||||
* \param file Nom du fichier image
|
* \param file Nom du fichier image
|
||||||
*/
|
*/
|
||||||
function draw($file)
|
function draw($file)
|
||||||
@ -381,7 +381,7 @@ class DolGraph
|
|||||||
// Define title
|
// Define title
|
||||||
if (isset($this->title)) $graph->SetTitle($this->title);
|
if (isset($this->title)) $graph->SetTitle($this->title);
|
||||||
|
|
||||||
// D<EFBFBD>fini position du graphe (et legende) au sein de l'image
|
// Defini position du graphe (et legende) au sein de l'image
|
||||||
if (isset($this->Legend) && sizeof($this->Legend))
|
if (isset($this->Legend) && sizeof($this->Legend))
|
||||||
{
|
{
|
||||||
$graph->SetLegendPixels($this->width - $right_space+8,40,'');
|
$graph->SetLegendPixels($this->width - $right_space+8,40,'');
|
||||||
@ -709,7 +709,7 @@ class DolGraph
|
|||||||
$plot->mark->setFill(new LightBlue);
|
$plot->mark->setFill(new LightBlue);
|
||||||
$plot->mark->border->show();
|
$plot->mark->border->show();
|
||||||
|
|
||||||
// // $group->legend->add($plot, "Unit<EFBFBD>s", 3);
|
// // $group->legend->add($plot, "Unites", 3);
|
||||||
$group->add($plot);
|
$group->add($plot);
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
@ -804,7 +804,7 @@ class DolGraph
|
|||||||
$plot->mark->setFill(new LightBlue);
|
$plot->mark->setFill(new LightBlue);
|
||||||
$plot->mark->border->show();
|
$plot->mark->border->show();
|
||||||
|
|
||||||
$group->legend->add($plot, "Unit<EFBFBD>s", 3);
|
$group->legend->add($plot, "Unites", 3);
|
||||||
$group->add($plot);
|
$group->add($plot);
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user