chart resize auto re-render