Added dynamic resize on chart (only on refresh)