Updates graph view to resize on window resize