Cleanup.
This commit is contained in:
parent
6ca4c29e38
commit
99d0eb6d1c
@ -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: '<div></div>'
|
||||
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user