working graph widgets and local doughnut chart
This commit is contained in:
parent
32bebd7c24
commit
9545601d01
7 changed files with 194 additions and 70 deletions
|
@ -26,18 +26,6 @@ export class DashboardCustomerComponent implements OnInit {
|
|||
public polarAreaChartType = 'polarArea';
|
||||
|
||||
public widgetList = [
|
||||
{
|
||||
type: 'graph',
|
||||
name: 'total_today',
|
||||
title: 'Total Today',
|
||||
dataType: DataType.currency,
|
||||
},
|
||||
{
|
||||
type: 'graph',
|
||||
name: 'avg_spend_today',
|
||||
title: 'Avg. Spend Today',
|
||||
dataType: DataType.currency,
|
||||
},
|
||||
{
|
||||
type: 'graph',
|
||||
name: 'total_last_week',
|
||||
|
@ -64,18 +52,6 @@ export class DashboardCustomerComponent implements OnInit {
|
|||
title: 'Last Month Avg. Spend',
|
||||
dataType: DataType.currency,
|
||||
},
|
||||
{
|
||||
type: 'graph',
|
||||
name: 'total_user',
|
||||
title: 'User Total',
|
||||
dataType: DataType.currency,
|
||||
},
|
||||
{
|
||||
type: 'graph',
|
||||
name: 'avg_spend_user',
|
||||
title: 'User Avg. Spend',
|
||||
dataType: DataType.currency,
|
||||
},
|
||||
];
|
||||
|
||||
constructor(
|
||||
|
|
Reference in a new issue