Fix callback.

This commit is contained in:
Alexis Lahouze 2017-07-27 14:21:35 +02:00
parent 2619238996
commit 27e3307a8e

View File

@ -147,7 +147,7 @@ export class BalanceChartComponent implements OnInit, OnChanges {
}, },
subchart: { subchart: {
show: true, show: true,
onbrush: function(domain) { onbrush: (domain) => {
this.onUpdate.emit({minDate: domain[0], maxDate: domain[1]}); this.onUpdate.emit({minDate: domain[0], maxDate: domain[1]});
} }
} }