Refactor chart resizing.