Misc Chart Improvements

Fixed doughnut chart colour loading issues, added WIP dashboard charts, few other misc changes
This commit is contained in:
Tom Slater 2019-08-06 16:51:44 +01:00
parent 0dcf98fed3
commit 3248caed07
10 changed files with 88 additions and 177 deletions

View file

@ -44,6 +44,13 @@ export class DashboardComponent {
title: 'Sales Last 30 Days',
dataType: DataType.currency,
},
{
type: 'graph',
name: 'sales_last_365_days',
icon: 'icon-diamond',
title: 'Sales Last Year',
dataType: DataType.currency,
},
{
type: 'graph',
name: 'purchases_last_7_days',
@ -56,6 +63,12 @@ export class DashboardComponent {
title: 'Purchases Last 30 Days',
dataType: DataType.currency,
},
{
type: 'graph',
name: 'purchases_last_365_days;',
title: 'Purchases Last Year',
dataType: DataType.currency,
},
];
disableCategoryButton: boolean = false;