Fix refresh operation for charts without initial size configuration