From df932a8f7c3372776e6139e57ad85f00eb90a733 Mon Sep 17 00:00:00 2001 From: Hugo Demenez Date: Thu, 17 Feb 2022 18:11:26 +0100 Subject: [PATCH] axis turn graph --- backend/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/database.php b/backend/database.php index 72f2395..693c68d 100644 --- a/backend/database.php +++ b/backend/database.php @@ -45,7 +45,7 @@ function database_to_chart(){ { while ($row = mysqli_fetch_assoc($result)) { - $requete2 = "select * from data where portfolioName = '".$row['name']."'" ; + $requete2 = "select * from data where portfolioName = '".$row['name']."' order by date ASC" ; $result2 = mysqli_query($database,$requete2); $values = array(); $dates =array();