2019-07-10 13:04:07 +01:00
< div class = "animated fadeIn" >
2019-07-15 01:17:01 +01:00
< div class = "card" >
< div class = "card-block" >
< div class = "row" >
2019-08-16 12:27:05 +01:00
< div class = "col-sm-8" >
< h4 class = "card-title mb-0" > Supplier spend amount and number of purchases< / h4 >
2019-07-10 13:04:07 +01:00
< / div >
2019-08-20 16:47:20 +01:00
< div class = "col-sm-4 hidden-sm-down" * ngIf = "isBubbleChartLoaded" >
2019-08-15 16:51:06 +01:00
< input type = "date" [ ( ngModel ) ] = " bubbleChartBegin " ( change ) = " bubbleChartUpdate ( ) " >
< input type = "date" [ ( ngModel ) ] = " bubbleChartEnd " ( change ) = " bubbleChartUpdate ( ) " >
2019-08-09 10:21:40 +01:00
< / div >
2019-07-15 01:17:01 +01:00
< / div >
2019-08-20 16:47:20 +01:00
< div class = "col-sm-12" * ngIf = "!isBubbleChartLoaded" >
2019-08-16 15:23:18 +01:00
< div class = "spinner" > < / div >
< / div >
< div * ngIf = "isBubbleChartLoaded" >
2019-07-15 01:17:01 +01:00
< canvas baseChart
[datasets]="supplierBubbleChartData"
[options]="supplierBubbleChartOptions"
[labels]="supplierBubbleChartLabels"
[legend]="showLegend"
[chartType]="supplierBubbleChartType">
< / canvas >
< / div >
2019-07-10 13:04:07 +01:00
< / div >
2019-07-15 01:17:01 +01:00
< / div >
< div class = "card" >
< div class = "card-block" >
< div class = "row" >
2019-08-16 12:27:05 +01:00
< div class = "col-sm-8" >
2019-08-06 16:51:44 +01:00
< h4 class = "card-title mb-0" > Spend amount and number of organisations< / h4 >
2019-07-15 01:17:01 +01:00
< / div >
2019-08-22 16:59:51 +01:00
< div class = "col-sm-4 hidden-sm-down" >
< input type = "date" [ ( ngModel ) ] = " lineChartBegin " ( change ) = " lineChartUpdate ( ) " >
< input type = "date" [ ( ngModel ) ] = " lineChartEnd " ( change ) = " lineChartUpdate ( ) " >
< / div >
2019-07-15 01:17:01 +01:00
< / div >
< div >
< canvas baseChart
[datasets]="yearSpendChartData"
[options]="yearSpendChartOptions"
[labels]="yearSpendChartLabels"
[legend]="showLegend"
[chartType]="yearSpendChartType">
< / canvas >
< / div >
< / div >
< / div >
< div class = "card" >
< div class = "card-block" >
< div class = "row" >
2019-08-22 16:59:51 +01:00
< div class = "col-sm-8" >
2019-07-15 01:17:01 +01:00
< h4 class = "card-title mb-0" > Supplier Spend History< / h4 >
< / div >
2019-08-22 16:59:51 +01:00
< div class = "col-sm-4 hidden-sm-down" >
2019-08-28 10:47:44 +01:00
< button type = "button" class = "btn btn-info" ( click ) = " supplierChartUpdate ( ) " > New Suppliers< / button >
2019-08-22 16:59:51 +01:00
< / div >
2019-07-15 01:17:01 +01:00
< / div >
< div >
2019-07-15 12:38:06 +01:00
< canvas baseChart # supplierChart
2019-07-15 01:17:01 +01:00
[datasets]="supplierMonthChartData"
[options]="supplierMonthChartOptions"
2019-08-06 16:51:44 +01:00
[colors]="supplierMonthChartColours"
2019-07-15 01:17:01 +01:00
[labels]="supplierMonthChartLabels"
[legend]="showLegend"
[chartType]="supplierMonthChartType">
< / canvas >
< / div >
< / div >
< / div >
2019-08-20 16:47:20 +01:00
< / div >