Change disaply texts.
This commit is contained in:
parent
0efdbc5378
commit
adb025c308
@ -40,8 +40,9 @@ export class BalanceChartComponent implements OnChanges {
|
|||||||
public data;
|
public data;
|
||||||
|
|
||||||
public xAxis: any = {
|
public xAxis: any = {
|
||||||
dataField: 'operation_date',
|
|
||||||
type: 'date',
|
type: 'date',
|
||||||
|
dataField: 'operation_date',
|
||||||
|
displayText: 'Date',
|
||||||
baseUnit: 'day',
|
baseUnit: 'day',
|
||||||
|
|
||||||
rangeSelector: {
|
rangeSelector: {
|
||||||
@ -80,15 +81,18 @@ export class BalanceChartComponent implements OnChanges {
|
|||||||
},
|
},
|
||||||
series: [{
|
series: [{
|
||||||
dataField: 'expenses',
|
dataField: 'expenses',
|
||||||
|
displayText: 'Expenses',
|
||||||
fillColor: 'red'
|
fillColor: 'red'
|
||||||
}, {
|
}, {
|
||||||
dataField: 'revenues',
|
dataField: 'revenues',
|
||||||
|
displayText: 'Revenues',
|
||||||
fillColor: 'green'
|
fillColor: 'green'
|
||||||
}]
|
}]
|
||||||
}, {
|
}, {
|
||||||
type: 'line',
|
type: 'line',
|
||||||
series: [{
|
series: [{
|
||||||
dataField: 'balance',
|
dataField: 'balance',
|
||||||
|
displayText: 'Balance',
|
||||||
fillColor: 'blue'
|
fillColor: 'blue'
|
||||||
}],
|
}],
|
||||||
bands: [{
|
bands: [{
|
||||||
|
Loading…
Reference in New Issue
Block a user