chart card
This commit is contained in:
parent
3d2eecb7e5
commit
dcb762e56e
3 changed files with 18 additions and 1 deletions
|
@ -1 +1,4 @@
|
|||
<mat-card class="chart" appearance="outlined">
|
||||
<div class="chartTitle">Calls By Week</div>
|
||||
<chart interval="week"></chart>
|
||||
</mat-card>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
mat-card.chart {
|
||||
width: 500px;
|
||||
height: 400px;
|
||||
margin: 30px 30px 40px 40px;
|
||||
}
|
||||
|
||||
mat-card div {
|
||||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
}
|
|
@ -1,9 +1,13 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { ChartsComponent } from '../charts/charts.component';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
|
||||
@Component({
|
||||
selector: 'app-home',
|
||||
imports: [ChartsComponent],
|
||||
imports: [
|
||||
ChartsComponent,
|
||||
MatCardModule,
|
||||
],
|
||||
templateUrl: './home.component.html',
|
||||
styleUrl: './home.component.scss',
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue