Add power chart

This commit is contained in:
2019-10-15 21:00:18 -04:00
parent f1ec429087
commit d9fd889741
14 changed files with 319 additions and 6 deletions

View File

@@ -1,6 +1,9 @@
<mat-spinner *ngIf="loading && !chart" class="content-spinner" strokeWidth="5"></mat-spinner>
<div class="chart-content">
<header class="chart-header">
<button mat-button (click)="loadChart()" [disabled]="loading">
<mat-icon>refresh</mat-icon>
</button>
<button mat-button (click)="chartTypeChange(ChartType.Weather)" [class.selected]="selectedChartType === ChartType.Weather" [disabled]="loading">
Common
</button>