From 8d2c7271a509c766bd3af7b83a0746a6f58ad28e Mon Sep 17 00:00:00 2001 From: Johnny Date: Fri, 18 Dec 2020 19:07:14 -0500 Subject: [PATCH] show legend update color --- dashboard.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard.php b/dashboard.php index 3bfcba50..d2b1661d 100644 --- a/dashboard.php +++ b/dashboard.php @@ -479,10 +479,10 @@ var myLineChart = new Chart(ctx, { fill: false, borderColor: "#dc3545", pointRadius: 5, - pointBackgroundColor: "rgba(2,117,216,1)", + pointBackgroundColor: "#dc3545", pointBorderColor: "#dc3545", pointHoverRadius: 5, - pointHoverBackgroundColor: "rgba(2,117,216,1)", + pointHoverBackgroundColor: "#dc3545", pointHitRadius: 50, pointBorderWidth: 2, data: [ @@ -534,7 +534,7 @@ var myLineChart = new Chart(ctx, { }], }, legend: { - display: false + display: true } } });