This commit is contained in:
Timo Bejan 2020-10-12 22:25:21 +03:00
parent 72a9804637
commit 38a3c07d1f
2 changed files with 7 additions and 7 deletions

View File

@ -18,15 +18,15 @@ export class SimpleDoughnutChartComponent implements OnInit {
@Input() title: string;
@Input() subtitle: number;
@Input() data: DataSeries[] = [];
@Input() angleOffset: number = -90;
@Input() radius: number = 80;
@Input() strokeWidth: number = 20;
@Input() angleOffset = -90;
@Input() radius = 80;
@Input() strokeWidth = 20;
chartData: any[] = [];
perimeter: number;
cx: number = 0;
cy: number = 0;
size: number = 0;
cx = 0;
cy = 0;
size = 0;
constructor() {
}

View File

@ -62,7 +62,7 @@ export class AppStateService {
this._appState.projects = projects.map(p => {
return new ProjectWrapper(p, []);
});
for (let project of projects) {
for (const project of projects) {
await this.getFiles(project.projectId);
}
this._computeStats();