Adjust graph scale