#1174 Add update report endpoint

This commit is contained in:
mauriziovitale84
2016-12-13 09:55:13 +00:00
parent 6c7160ccf8
commit 8993223a62
4 changed files with 45 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ export class AnalyticsComponent implements OnChanges {
reportParamQuery = new ReportQuery();
reports: any[];
reports: Chart[];
public barChartOptions: any = {
responsive: true,
@@ -107,4 +107,8 @@ export class AnalyticsComponent implements OnChanges {
let clone = JSON.parse(JSON.stringify(report));
report.datasets = clone.datasets;
}
public editReport(report: Chart) {
console.log(report);
}
}