diff --git a/site/formGraphe.php b/site/formGraphe.php index 19ff2b4..d7b482a 100644 --- a/site/formGraphe.php +++ b/site/formGraphe.php @@ -8,7 +8,7 @@ $maxs = explode(" ", $max['max']); $date_max = $maxs[0]; ?>
-
+

Affichage un graphe

diff --git a/site/graphe.php b/site/graphe.php index 5705c34..bf29787 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('Solarie', '', '', '2020-01-02 00:00:00', '2020-04-05 23:59:59', 4); +$history1 = getHistory('Solaris', '', '', '2020-01-02 00:00:00', '2020-04-05 23:59:59', 4); $datay1 = makeArray($history1, "value"); $history2 = getHistory('Atmos', '', '', '2020-01-02 00:00:00', '2020-04-05 23:59:59', 4); diff --git a/site/graphique.php b/site/graphique.php index 8b87f02..70b793a 100644 --- a/site/graphique.php +++ b/site/graphique.php @@ -28,8 +28,9 @@ else $start = $start." 00:00:00";

Graphe du capteur


+ ";//?nom=$nom&nombre=$nombre&start=$start&end=$end' alt='graphe'>"; + echo "graphe" ?>
-- libgit2 0.21.2