Change disaply texts.
This commit is contained in:
parent
0efdbc5378
commit
adb025c308
@ -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: [{
|
||||
|
Loading…
Reference in New Issue
Block a user