From 7f48f00ba4d0b77ff962a6512172f8b7a213584c Mon Sep 17 00:00:00 2001 From: DarkMax31 Date: Fri, 29 Aug 2025 08:53:24 +0200 Subject: [PATCH] modif couleur graphique --- views/{graphique.ejs => index.ejs} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename views/{graphique.ejs => index.ejs} (89%) diff --git a/views/graphique.ejs b/views/index.ejs similarity index 89% rename from views/graphique.ejs rename to views/index.ejs index 14b1815..12071c3 100644 --- a/views/graphique.ejs +++ b/views/index.ejs @@ -21,12 +21,12 @@ const radarChart = new Chart(ctx, { label: 'Moyenne des notes', data: [4.7, 4.6, 4.4, 4.3, 4.8], fill: true, - backgroundColor: 'rgba(25, 80, 233, 0.2)', - borderColor: 'rgb(25, 80, 233, 10)', - pointBackgroundColor: 'rgb(55, 99, 132)', + backgroundColor: 'rgba(255,215,0,0.2)', + borderColor: 'rgb(255,215,0)', + pointBackgroundColor: 'rgb(255,215,0)', pointBorderColor: '#fff', pointHoverBackgroundColor: '#fff', - pointHoverBorderColor: 'rgb(255, 99, 132)', + pointHoverBorderColor: 'rgb(255, 215, 0)', pointStyle: 'circle', pointRadius: 5, pointRotation: 0,