From 6777b53bb50a3a447283e1960c6bc8905243cbf6 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 8 Dec 2005 15:21:31 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20l=E9gende?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/telephonie/script/graph-statistiques-tempsreels.php | 5 +++++ 1 file changed, 5 insertions(+) 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); } }