Resize chart. Remove unused json.