mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Detailed Task Statistics - Analytics (#1374)
* #1224 Show the details table * Fix unit test
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user