don't reset data when resizing graph

[#46139295]