Utility now clears graph if min or max change