summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared/components/charts/pie/pie.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/shared/components/charts/pie/pie.component.ts')
-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
+ })
+ }
}