enable chart canvas responsiveness

This commit is contained in:
Jesse Lucas
2020-03-29 16:51:12 -04:00
parent d67c9b66d3
commit 86141c1eef
5 changed files with 15 additions and 13 deletions
@@ -1,9 +1,9 @@
<div class="{{elevation}} tui-card">
<div class="tui-card-title">Folders</div>
<div class="tui-card-content">
<div fxLayout="row" fxLayoutAlign="space-between start">
<app-donut-chart [elementID]="chartID"></app-donut-chart>
<div class="items" fxLayout="column" fxLayoutAlign="space-evenly end">
<div fxLayout="row" fxLayoutAlign="space-between stretch">
<app-donut-chart [elementID]="chartID" fxFlex="30"></app-donut-chart>
<div class="items" fxLayout="column" fxLayoutAlign="start none" fxFlex="70">
<app-chart-item *ngFor="let state of states" [state]="state.label" [count]="state.count">
</app-chart-item>
</div>