added controls to specify min and max value of range to graph