From 99d0eb6d1caaff8647fccd53e7284d0793cdc8e6 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 27 Jul 2017 14:09:09 +0200 Subject: [PATCH] Cleanup. --- src/operations/balance-chart.component.ts | 12 ------------ 1 file changed, 12 deletions(-) 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({