allow user to customize width and height of graph