diff --git a/src/operations/balanceChart.component.ts b/src/operations/balanceChart.component.ts index 3c4e6a6..ccf7371 100644 --- a/src/operations/balanceChart.component.ts +++ b/src/operations/balanceChart.component.ts @@ -40,8 +40,9 @@ export class BalanceChartComponent implements OnChanges { public data; public xAxis: any = { - dataField: 'operation_date', type: 'date', + dataField: 'operation_date', + displayText: 'Date', baseUnit: 'day', rangeSelector: { @@ -80,15 +81,18 @@ export class BalanceChartComponent implements OnChanges { }, series: [{ dataField: 'expenses', + displayText: 'Expenses', fillColor: 'red' }, { dataField: 'revenues', + displayText: 'Revenues', fillColor: 'green' }] }, { type: 'line', series: [{ dataField: 'balance', + displayText: 'Balance', fillColor: 'blue' }], bands: [{