set graph min / max values