From 1f7ed8d80f03f288181718a3572896ac48849163 Mon Sep 17 00:00:00 2001 From: "Kumar, Sudarshan (sk670p)" Date: Mon, 26 Apr 2021 23:41:22 +0530 Subject: Integrating Stacked Column Chart SDK-Raptor Integrating Stacked Column Chart SDK-Raptor Issue-ID: PORTAL-1068 Change-Id: I624e9ac3f6e52d5d4d501e46de979649a51f27ff Signed-off-by: Sudarshan Kumar --- ecomp-sdk/epsdk-app-os/ngappsrc/package.json | 3 ++- .../welcome-module/welcome-dashboard/bar-chart/bar-chart.component.ts | 2 +- .../welcome-module/welcome-dashboard/pie-chart/pie-chart.component.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'ecomp-sdk/epsdk-app-os') diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/package.json b/ecomp-sdk/epsdk-app-os/ngappsrc/package.json index e36e8ae4..e60a8845 100644 --- a/ecomp-sdk/epsdk-app-os/ngappsrc/package.json +++ b/ecomp-sdk/epsdk-app-os/ngappsrc/package.json @@ -65,7 +65,8 @@ "sonar-scanner": "^3.1.0", "tslib": "^1.9.0", "web-animations-js": "^2.3.2", - "zone.js": "~0.8.26" + "zone.js": "~0.8.26", + "ng2-charts": "2.2.3" }, "devDependencies": { "@angular-devkit/build-angular": "^0.10.0", diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/welcome-module/welcome-dashboard/bar-chart/bar-chart.component.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/welcome-module/welcome-dashboard/bar-chart/bar-chart.component.ts index 4b7a7811..15675360 100644 --- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/welcome-module/welcome-dashboard/bar-chart/bar-chart.component.ts +++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/welcome-module/welcome-dashboard/bar-chart/bar-chart.component.ts @@ -45,7 +45,7 @@ import {Chart} from 'chart.js'; styleUrls: ['./bar-chart.component.scss'] }) export class BarChartComponent implements OnInit { - fixesEnhancementBarChart = []; + fixesEnhancementBarChart:any; constructor() { } ngOnInit() { diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/welcome-module/welcome-dashboard/pie-chart/pie-chart.component.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/welcome-module/welcome-dashboard/pie-chart/pie-chart.component.ts index 356c85a6..8ed114e6 100644 --- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/welcome-module/welcome-dashboard/pie-chart/pie-chart.component.ts +++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/welcome-module/welcome-dashboard/pie-chart/pie-chart.component.ts @@ -46,7 +46,7 @@ import {Chart} from 'chart.js'; }) export class PieChartComponent implements OnInit { - userFeedbackRootCausePieChart = []; + userFeedbackRootCausePieChart :any; constructor() { } ngOnInit() { -- cgit 1.2.3-korg