diff --git a/src/app/view/home/graph-list/graph-list.component.ts b/src/app/view/home/graph-list/graph-list.component.ts index 7941e89..258f586 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -224,7 +224,7 @@ export class GraphListComponent implements OnInit { let Ttotalkernal = res.response.totalkernal; let Ttotaloutput = res.response.totaloutput; 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( Tdate, Ttotalinput,