64 lines
2.1 KiB
HTML
64 lines
2.1 KiB
HTML
<div class="animated fadeIn">
|
|
<div class="card">
|
|
<div class="card-block">
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<h4 class="card-title mb-0">Supplier spend amount and number of purchases</h4>
|
|
</div>
|
|
<div class="col-sm-4 hidden-sm-down" *ngIf="isBubbleChartLoaded">
|
|
<input type="date" [(ngModel)]="bubbleChartBegin" (change)="bubbleChartUpdate()">
|
|
<input type="date" [(ngModel)]="bubbleChartEnd" (change)="bubbleChartUpdate()">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-12" *ngIf="!isBubbleChartLoaded">
|
|
<div class="spinner"></div>
|
|
</div>
|
|
<div *ngIf="isBubbleChartLoaded">
|
|
<canvas baseChart
|
|
[datasets]="supplierBubbleChartData"
|
|
[options]="supplierBubbleChartOptions"
|
|
[labels]="supplierBubbleChartLabels"
|
|
[legend]="showLegend"
|
|
[chartType]="supplierBubbleChartType">
|
|
</canvas>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-block">
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<h4 class="card-title mb-0">Spend amount and number of organisations</h4>
|
|
</div>
|
|
</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">
|
|
<div class="col-sm-5">
|
|
<h4 class="card-title mb-0">Supplier Spend History</h4>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<canvas baseChart #supplierChart
|
|
[datasets]="supplierMonthChartData"
|
|
[options]="supplierMonthChartOptions"
|
|
[colors]="supplierMonthChartColours"
|
|
[labels]="supplierMonthChartLabels"
|
|
[legend]="showLegend"
|
|
[chartType]="supplierMonthChartType">
|
|
</canvas>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|