add some style to dashboard

This commit is contained in:
Omar-Nabil
2024-07-22 07:11:47 -06:00
committed by Jose Alberto Hernandez
parent e810ce1e5e
commit 95c9161770
3 changed files with 27 additions and 17 deletions
@@ -78,11 +78,11 @@ export class AmountCollectedPieComponent implements OnInit {
setChart(data: any) {
if (!this.chart) {
this.chart = new Chart('collection-pie', {
type: 'pie',
type: 'doughnut',
data: {
labels: ['Pending', 'Collected'],
datasets: [{
backgroundColor: ['red', 'green'],
backgroundColor: ['dodgerblue', 'red'],
data: data
}]
},