diff --git a/site/graphe.php b/site/graphe.php index bf29787..703499d 100644 --- a/site/graphe.php +++ b/site/graphe.php @@ -3,7 +3,7 @@ require_once ('jpgraph/jpgraph.php'); require_once ('jpgraph/jpgraph_line.php'); require_once('accesBase.php'); -$history1 = getHistory('Solaris', '', '', '2020-01-02 00:00:00', '2020-04-05 23:59:59', 4); +$history1 = getHistory($_REQUEST['nom'], '', '', $_REQUEST['start'], $_REQUEST['end'], $_REQUEST['nombre']); $datay1 = makeArray($history1, "value"); $history2 = getHistory('Atmos', '', '', '2020-01-02 00:00:00', '2020-04-05 23:59:59', 4); -- libgit2 0.21.2