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