add user-setable graph width and height