Detailed Task Statistics - Analytics (#1374)

* #1224 Show the details table

* Fix unit test
This commit is contained in:
Maurizio Vitale
2017-01-04 16:15:59 +00:00
committed by Vito
parent 8a1d372318
commit 05ae1185f2
6 changed files with 47 additions and 4 deletions

View File

@@ -51,6 +51,8 @@ export class AnalyticsComponent implements OnChanges {
reports: Chart[];
showDetails: boolean = false;
public barChartOptions: any = {
responsive: true,
scales: {
@@ -114,4 +116,12 @@ export class AnalyticsComponent implements OnChanges {
public onEditReport(name: string) {
this.editReport.emit(name);
}
toggleDetailsTable() {
this.showDetails = !this.showDetails;
}
isShowDetails(): boolean {
return this.showDetails;
}
}