Refactor charts to use @ViewChild instead of @Input

This commit is contained in:
Jesse Lucas
2020-03-29 16:51:12 -04:00
parent 90ed7aa121
commit 09d498bb80
5 changed files with 43 additions and 29 deletions
@@ -1,6 +1,6 @@
<mat-card class="{{elevation}}">
<mat-card-title>Folders</mat-card-title>
<mat-card-content>
<app-donut-chart [elementID]="chartID" [data]="data"></app-donut-chart>
<app-donut-chart [elementID]="chartID"></app-donut-chart>
</mat-card-content>
</mat-card>