Added extra widgets and fixed api issue

This commit is contained in:
Tom Bloor 2017-09-05 12:04:36 +01:00
parent e0a78c0f43
commit ec49bff840
2 changed files with 24 additions and 2 deletions

View file

@ -83,8 +83,8 @@ export class GraphWidget implements OnInit {
}
private setData(data: any) {
this.setChartData(data.count);
this.setChartLabels(data.day);
this.setChartData(data.data);
this.setChartLabels(data.labels);
}
private setChartData(data: Array<number>) {