diff --git a/src/app/components/graphs.component.ts b/src/app/components/graphs.component.ts index cb37094..4b17c67 100644 --- a/src/app/components/graphs.component.ts +++ b/src/app/components/graphs.component.ts @@ -41,15 +41,8 @@ export class GraphsComponent implements OnChanges { private genLoadedAllGraphs: any | null; @Input() config: any; - - @ViewChild('svg') svgElementRef; - @Output() svgChange = new EventEmitter(); - - @HostListener('window:resize', ['$event']) - private onResize(event) { - this.init(); - } + @ViewChild('svg') svgElementRef; constructor( private canvasService: CanvasService