From 22ff11be9378a90a22152ab5d0901bd1d4e83fed Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Fri, 10 May 2019 10:58:23 +0800 Subject: Dashboard interface front-end development Change-Id: I987e663bed2fd6ff584fe00fd6a29b133724e629 Issue-ID: USECASEUI-214 Signed-off-by: guochuyicmri --- .../app/components/customer/customer.component.ts | 24 ++++++++-------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'usecaseui-portal/src/app/components/customer') diff --git a/usecaseui-portal/src/app/components/customer/customer.component.ts b/usecaseui-portal/src/app/components/customer/customer.component.ts index f3d1af3e..61e582c6 100644 --- a/usecaseui-portal/src/app/components/customer/customer.component.ts +++ b/usecaseui-portal/src/app/components/customer/customer.component.ts @@ -89,15 +89,7 @@ export class CustomerComponent implements OnInit { name: "customer", radius: '90%', center: ['50%', '50%'], - data: [{ - value: 67, - }, { - value: 10, - }, { - value: 17, - }, { - value: 33, - },], + data: [], label: { normal: { position: 'center', @@ -217,7 +209,7 @@ export class CustomerComponent implements OnInit { axisLabel: { color: "#3C4F8C" }, - data: ['Other', 'Type1', 'Type2', 'Type3', 'Type4'], + data: [], }, ], @@ -226,7 +218,7 @@ export class CustomerComponent implements OnInit { name: '', barWidth: '40%', type: 'bar', - data: [2800, 1700, 1200, 1000, 900], + data: [], itemStyle: { normal: { color: function (params) { @@ -297,32 +289,32 @@ export class CustomerComponent implements OnInit { name: 'Type4', type: 'bar', stack: '', - data: 2800, + data: '', }, { name: 'Type1', type: 'bar', stack: '', - data: 1700 + data: '' }, { name: 'Type2', type: 'bar', stack: '', - data: 1500 + data: '' }, { name: 'Type3', type: 'bar', stack: '', - data: 1300 + data: '' }, { name: 'Other', type: 'bar', stack: '', - data: 1000, + data: '', } ] -- cgit 1.2.3-korg