diff options
author | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-10 10:58:23 +0800 |
---|---|---|
committer | guochuyicmri <guochuyi@chinamobile.com> | 2019-05-10 10:58:29 +0800 |
commit | 22ff11be9378a90a22152ab5d0901bd1d4e83fed (patch) | |
tree | b55d7f9277ae15b7ce0767e768b0cc0d105f4b87 /usecaseui-portal/src/app/components | |
parent | 5b346094ab12d2561471ec15122bdce2f840237c (diff) |
Dashboard interface front-end development
Change-Id: I987e663bed2fd6ff584fe00fd6a29b133724e629
Issue-ID: USECASEUI-214
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/components')
-rw-r--r-- | usecaseui-portal/src/app/components/customer/customer.component.ts | 24 |
1 files changed, 8 insertions, 16 deletions
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: '', } ] |