diff --git a/htdocs/telephonie/script/graph-statistiques-tempsreels.php b/htdocs/telephonie/script/graph-statistiques-tempsreels.php index acd18aac166..9303de81b9a 100644 --- a/htdocs/telephonie/script/graph-statistiques-tempsreels.php +++ b/htdocs/telephonie/script/graph-statistiques-tempsreels.php @@ -135,13 +135,18 @@ if ($resql) $b2plot = new LinePlot($datas); $b2plot->SetWeight(2); $b2plot->SetColor("red"); + $b2plot->SetLegend("réel"); $graph->Add($b2plot); $lineplot = new LinePlot($moydatas); $lineplot->SetColor("blue"); + $lineplot->SetLegend("moyenne"); $graph->Add($lineplot); $graph->img->SetImgFormat("png"); + + $graph->legend->Pos(0.08,0.08,"left","top"); + $graph->Stroke($file); } }