From ee85cb03476fed442d27ca5e57e1a2e4623d8545 Mon Sep 17 00:00:00 2001 From: "raja.blaze" Date: Mon, 19 Aug 2019 19:26:11 +0530 Subject: [PATCH] fixed --- src/app/view/home/graph-list/graph-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,