percent per week data viewing done
This commit is contained in:
parent
93f15ae6de
commit
7e7bb4ccf3
3 changed files with 104 additions and 30 deletions
|
@ -30,10 +30,8 @@ export class PiePanel implements OnInit {
|
|||
|
||||
private setData(data: any) {
|
||||
this.doughnutChartData = Object.values(data);
|
||||
console.log(this.chartData);
|
||||
// setTimeout is currently a workaround for ng2-charts labels
|
||||
setTimeout(() => this.doughnutChartLabels = Object.keys(data), 0);
|
||||
console.log(this.chartLabels);
|
||||
}
|
||||
|
||||
// convert Hex to RGBA
|
||||
|
|
Reference in a new issue