This commit is contained in:
raja.blaze 2019-08-19 19:26:11 +05:30
parent 9900a0eda5
commit ee85cb0347

View File

@ -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,