chart card

This commit is contained in:
Daniel Ponte 2025-02-17 12:03:47 -05:00
parent 3d2eecb7e5
commit dcb762e56e
3 changed files with 18 additions and 1 deletions

View file

@ -1 +1,4 @@
<mat-card class="chart" appearance="outlined">
<div class="chartTitle">Calls By Week</div>
<chart interval="week"></chart>
</mat-card>

View file

@ -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;
}

View file

@ -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',
})