summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared/components
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/shared/components')
-rw-r--r--usecaseui-portal/src/app/shared/components/charts/pie/pie.component.ts4
1 files changed, 2 insertions, 2 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 d22ffb02..85cf72ee 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
@@ -110,9 +110,9 @@ export class PieComponent implements OnInit {
})
}
- resize(size: number){
+ resize(parentHeight: number, size: number){
this.chartIntance.resize( {
- height: size - 250
+ height: parentHeight - size
})
}