allow charts to have auto width and height