fixed
This commit is contained in:
parent
9900a0eda5
commit
ee85cb0347
@ -224,7 +224,7 @@ export class GraphListComponent implements OnInit {
|
|||||||
let Ttotalkernal = res.response.totalkernal;
|
let Ttotalkernal = res.response.totalkernal;
|
||||||
let Ttotaloutput = res.response.totaloutput;
|
let Ttotaloutput = res.response.totaloutput;
|
||||||
let today_date_index = Tdate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
let today_date_index = Tdate.indexOf(moment(Date.now()).format('YYYY-MM-DD'));
|
||||||
this.tg_last = Ttotalinput[today_date_index] + Ttotalkernal[today_date_index] + Ttotaloutput[today_date_index];
|
this.tg_last = parseInt(Ttotalinput[today_date_index]) + parseInt(Ttotalkernal[today_date_index]) + parseInt(Ttotaloutput[today_date_index]);
|
||||||
this.transactionlinechartFunc(
|
this.transactionlinechartFunc(
|
||||||
Tdate,
|
Tdate,
|
||||||
Ttotalinput,
|
Ttotalinput,
|
||||||
|
Loading…
Reference in New Issue
Block a user