remove chart redraw when window is resized