Correction des poinrs du dashboard
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent 8385830ecd
commit 0beb99547b

@ -57,7 +57,6 @@ class VisitorController
{ {
try { try {
global $rep, $vues; global $rep, $vues;
echo "test";
require($rep . $vues['main']); require($rep . $vues['main']);
} catch (Exception $e) { } catch (Exception $e) {
$error = $e->getMessage(); $error = $e->getMessage();

@ -13,8 +13,10 @@
v1.type="line"; v1.type="line";
v1.xValueFormatString=lesInfos[0][i]; v1.xValueFormatString=lesInfos[0][i];
v1.dataPoints=[]; v1.dataPoints=[];
var point = 0;
for (j = 0; j < lesInfos[1][i].length; j++) { for (j = 0; j < lesInfos[1][i].length; j++) {
v1.dataPoints.push({x:j+1,y:lesInfos[1][i][j]}); point += lesInfos[1][i][j];
v1.dataPoints.push({x:j+1,y:point});
} }
data.push(v1); data.push(v1);
} }

Loading…
Cancel
Save