summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared/components
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-17 16:49:24 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-17 16:49:34 +0800
commitc176eb964eb4877adb35a502791a13434bd57c76 (patch)
tree562eadea4ad28d55a71b2bac5111604772839966 /usecaseui-portal/src/app/shared/components
parente727e1a70079182eac2aec6dfe83a409e811ece9 (diff)
style: optimize the style of the home page
Change-Id: I963cdb61aebcb4d049cfc4cc19c5d5dc3b743986 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/shared/components')
-rw-r--r--usecaseui-portal/src/app/shared/components/charts/pie/pie.component.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/shared/components/charts/pie/pie.component.ts b/usecaseui-portal/src/app/shared/components/charts/pie/pie.component.ts
index dc5c80a0..d22ffb02 100644
--- a/usecaseui-portal/src/app/shared/components/charts/pie/pie.component.ts
+++ b/usecaseui-portal/src/app/shared/components/charts/pie/pie.component.ts
@@ -13,7 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
-import { Component, OnInit, Input } from '@angular/core';
+import { Component, OnInit, Input, ViewChild, ElementRef } from '@angular/core';
import { SimpleChanges } from '@angular/core/src/metadata/lifecycle_hooks';
@Component({
@@ -110,5 +110,10 @@ export class PieComponent implements OnInit {
})
}
+ resize(size: number){
+ this.chartIntance.resize( {
+ height: size - 250
+ })
+ }
}