diff --git a/src/operations/balanceChart.component.ts b/src/operations/balanceChart.component.ts index 8cde252..ed7d2ee 100644 --- a/src/operations/balanceChart.component.ts +++ b/src/operations/balanceChart.component.ts @@ -147,7 +147,7 @@ export class BalanceChartComponent implements OnInit, OnChanges { }, subchart: { show: true, - onbrush: function(domain) { + onbrush: (domain) => { this.onUpdate.emit({minDate: domain[0], maxDate: domain[1]}); } }