Colour fixes

This commit is contained in:
Tom Slater 2019-08-21 11:51:10 +01:00
parent 2e00e87574
commit 2cb17c12dd
5 changed files with 44 additions and 8 deletions

View file

@ -42,16 +42,17 @@ export class DashboardCustomerComponent implements OnInit {
public doughnutChartColoursCategory: any[] = [
{
backgroundColor:[
'red',
'#ffa1b5',
'green',
'blue',
'#52afed',
'purple',
'yellow',
'brown',
'magenta',
'cyan',
'orange',
'pink'
'red',
'#000000'
]
}];
@ -117,7 +118,22 @@ export class DashboardCustomerComponent implements OnInit {
public barChartLegendCategory:boolean = false;
public barChartDataCategory:any[]=[];
public barChartLabelsCategory:string[] = [];
public barChartColoursCategory: any[] = [
{
backgroundColor:[
'#ffa1b5',
'green',
'#52afed',
'purple',
'yellow',
'brown',
'magenta',
'cyan',
'orange',
'red',
'#000000'
]
}];
weekPurchaseList = {