From be5591fb63562718c600744ec98729fded399f88 Mon Sep 17 00:00:00 2001 From: vijikannan Date: Tue, 30 Jul 2019 16:33:52 +0530 Subject: [PATCH] pie chart --- 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 94ee319..62a17f1 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -105,7 +105,7 @@ export class GraphListComponent implements OnInit { res => { if (res['status'] == 200) { let plabel = res.response.label; - let pvalues = res.response.values; + let pvalues = res.response.value; this.pg_last = pvalues[pvalues.length - 1]; this.piechartFunc(