Commit ffa930190dead65c0021b45b5f42b864bfce2fef
1 parent
bd08b8de
Test Graphe
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
site/graphe.php
@@ -3,7 +3,7 @@ require_once ('jpgraph/jpgraph.php'); | @@ -3,7 +3,7 @@ require_once ('jpgraph/jpgraph.php'); | ||
3 | require_once ('jpgraph/jpgraph_line.php'); | 3 | require_once ('jpgraph/jpgraph_line.php'); |
4 | require_once('accesBase.php'); | 4 | require_once('accesBase.php'); |
5 | 5 | ||
6 | -$history1 = getHistory($_REQUEST['nom'], '', '', $_REQUEST['start'], $_REQUEST['end'], $_REQUEST['nombre']); | 6 | +$history1 = getHistory('Solarie', '', '', '2020-01-02 00:00:00', '2020-04-05 23:59:59', 4); |
7 | $datay1 = makeArray($history1, "value"); | 7 | $datay1 = makeArray($history1, "value"); |
8 | 8 | ||
9 | $history2 = getHistory('Atmos', '', '', '2020-01-02 00:00:00', '2020-04-05 23:59:59', 4); | 9 | $history2 = getHistory('Atmos', '', '', '2020-01-02 00:00:00', '2020-04-05 23:59:59', 4); |