2020-03-16 12:11:27 -04:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
2020-03-16 13:53:07 -04:00
|
|
|
import { SystemConfigService } from 'src/app/system-config.service';
|
2020-03-16 15:13:49 -04:00
|
|
|
import { Folder } from '../../folder'
|
2020-03-16 13:53:07 -04:00
|
|
|
import { cardElevation } from '../../style'
|
2020-03-16 12:11:27 -04:00
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'app-folder-chart',
|
|
|
|
|
templateUrl: './folder-chart.component.html',
|
|
|
|
|
styleUrls: ['./folder-chart.component.scss']
|
|
|
|
|
})
|
|
|
|
|
export class FolderChartComponent implements OnInit {
|
2020-03-16 13:53:07 -04:00
|
|
|
chartID: string = 'foldersChart';
|
|
|
|
|
elevation: string = cardElevation;
|
2020-03-16 17:58:20 -04:00
|
|
|
data: number[];
|
2020-03-16 12:11:27 -04:00
|
|
|
|
2020-03-16 13:53:07 -04:00
|
|
|
constructor(private systemConfigService: SystemConfigService) { }
|
2020-03-16 12:11:27 -04:00
|
|
|
|
|
|
|
|
ngOnInit(): void {
|
2020-03-16 13:53:07 -04:00
|
|
|
this.systemConfigService.getFolders().subscribe(
|
|
|
|
|
data => {
|
2020-03-16 17:58:20 -04:00
|
|
|
this.data = [0, 1, 32, 40];
|
2020-03-16 13:53:07 -04:00
|
|
|
}
|
|
|
|
|
);
|
2020-03-16 12:11:27 -04:00
|
|
|
}
|
2020-03-16 17:58:20 -04:00
|
|
|
/*
|
|
|
|
|
ngAfterViewInit() {
|
2020-03-16 12:11:27 -04:00
|
|
|
|
2020-03-16 17:58:20 -04:00
|
|
|
}
|
|
|
|
|
*/
|
2020-03-16 12:11:27 -04:00
|
|
|
}
|