Fix callback.
This commit is contained in:
parent
2619238996
commit
27e3307a8e
@ -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]});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user