Change disaply texts.

This commit is contained in:
Alexis Lahouze 2018-06-10 14:51:05 +02:00
parent 0efdbc5378
commit adb025c308

View File

@ -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: [{