fix(dashboard): adding color untuk interface grafik

This commit is contained in:
Desy Ayurianti 2024-09-27 13:53:18 +07:00
parent cd0e9e3e85
commit 991da7be77

View File

@ -77,11 +77,11 @@ export class GraphComponent implements OnInit {
data, data,
borderColor, borderColor,
borderWidth: 1.5, borderWidth: 1.5,
fill: false, fill: true,
backgroundColor: borderColor + '4D', backgroundColor: borderColor + '4D',
tension: 0.5, tension: 0.5,
pointRadius: 5, pointRadius: 0,
pointHoverRadius: 8, pointHoverRadius: 0,
pointBackgroundColor: borderColor, pointBackgroundColor: borderColor,
}] }]
}, },
@ -126,7 +126,7 @@ export class GraphComponent implements OnInit {
} }
}, },
legend: { legend: {
display: true display: false
} }
}, },
scales: { scales: {