From 778a8fbbde21b6a2e012bd907876c3bdeab4f7ed Mon Sep 17 00:00:00 2001 From: Johnny Date: Fri, 18 Dec 2020 15:34:11 -0500 Subject: [PATCH] Remove Expense Flow Fix max value --- dashboard.php | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/dashboard.php b/dashboard.php index e5832534..06cd1322 100644 --- a/dashboard.php +++ b/dashboard.php @@ -215,25 +215,6 @@ $total_recurring_invoice_amount = $row['total_recurring_invoice_amount']; -
-
-
-

Expense Flow

-
- - - - -
-
-
- -
-
-
-
@@ -495,13 +476,13 @@ var myLineChart = new Chart(ctx, { }, { label: "Expense", lineTension: 0.3, - backgroundColor: "red", - borderColor: "darkred", + backgroundColor: "rgba(2,2,216,0.2)", + borderColor: "rgba(2,2,216,1)", pointRadius: 5, - pointBackgroundColor: "red", - pointBorderColor: "red", + pointBackgroundColor: "rgba(2,117,216,1)", + pointBorderColor: "rgba(255,255,255,0.8)", pointHoverRadius: 5, - pointHoverBackgroundColor: "darkred", + pointHoverBackgroundColor: "rgba(2,117,216,1)", pointHitRadius: 50, pointBorderWidth: 2, data: [ @@ -544,7 +525,7 @@ var myLineChart = new Chart(ctx, { yAxes: [{ ticks: { min: 0, - max: , + max: , maxTicksLimit: 5 }, gridLines: {