From 8a407e8af4eadd70216065d165fdd8b0828f8c58 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Tue, 20 Aug 2019 14:28:59 +0800 Subject: feat:optimize chart text Change-Id: I5adc594c1662640323bd113a87f5e3b294c4295c Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- usecaseui-portal/src/app/components/charts/pie/pie.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'usecaseui-portal/src/app/components/charts/pie/pie.component.ts') diff --git a/usecaseui-portal/src/app/components/charts/pie/pie.component.ts b/usecaseui-portal/src/app/components/charts/pie/pie.component.ts index b5142410..dc5c80a0 100644 --- a/usecaseui-portal/src/app/components/charts/pie/pie.component.ts +++ b/usecaseui-portal/src/app/components/charts/pie/pie.component.ts @@ -38,6 +38,7 @@ export class PieComponent implements OnInit { backgroundColor:this.initData.option.backgroundColor, legend: this.initData.option.legend, color:this.initData.option.color, + tooltip: this.initData.option.tooltip || '', series : [ { name: this.initData.option.series[0].name, -- cgit 1.2.3-korg