diff --git a/src/operations/balance-chart.component.ts b/src/operations/balance-chart.component.ts index 0796503..8cde252 100644 --- a/src/operations/balance-chart.component.ts +++ b/src/operations/balance-chart.component.ts @@ -9,8 +9,6 @@ import { OnInit, OnChanges } from '@angular/core'; -import { Logger } from '@nsalaun/ng-logger'; - import { Account } from '../accounts/account'; import { DailyBalanceService } from '../accounts/dailyBalance.service'; @@ -19,12 +17,6 @@ class DateRange { maxDate: Date; } -class xAxis { - balances: Date[]; - expenses: Date[]; - revenues: Date[]; -} - @Component({ selector: 'balance-chart', template: '
' @@ -38,11 +30,9 @@ export class BalanceChartComponent implements OnInit, OnChanges { constructor( private elementRef: ElementRef, - private logger: Logger, private dailyBalanceService: DailyBalanceService, @Inject('accountIdService') private accountIdService, ) { - this.logger.log("Constructor BalanceChartComponent") } loadData() { @@ -70,8 +60,6 @@ export class BalanceChartComponent implements OnInit, OnChanges { x = this.chart.x(); - this.logger.log("x", x); - var balances = x.balances; this.onUpdate.emit({