adjusts chart options and size