Update line Color

This commit is contained in:
Johnny
2020-12-18 19:04:50 -05:00
parent b76b6014c5
commit 153bf6d96b

View File

@@ -436,7 +436,6 @@ var myLineChart = new Chart(ctx, {
datasets: [{ datasets: [{
label: "Income", label: "Income",
lineTension: 0.3, lineTension: 0.3,
backgroundColor: "white",
fill: false, fill: false,
borderColor: "rgba(2,117,216,1)", borderColor: "rgba(2,117,216,1)",
pointRadius: 5, pointRadius: 5,
@@ -477,12 +476,11 @@ var myLineChart = new Chart(ctx, {
}, { }, {
label: "Expense", label: "Expense",
lineTension: 0.3, lineTension: 0.3,
backgroundColor: "white",
fill: false, fill: false,
borderColor: "rgba(2,2,216,1)", borderColor: "#dc3545",
pointRadius: 5, pointRadius: 5,
pointBackgroundColor: "rgba(2,117,216,1)", pointBackgroundColor: "rgba(2,117,216,1)",
pointBorderColor: "rgba(255,255,255,0.8)", pointBorderColor: "#dc3545",
pointHoverRadius: 5, pointHoverRadius: 5,
pointHoverBackgroundColor: "rgba(2,117,216,1)", pointHoverBackgroundColor: "rgba(2,117,216,1)",
pointHitRadius: 50, pointHitRadius: 50,