implemented graph resize on window resize
- has a small delay to prevent spamming the digest cycle