All values now gets correct max and min

Previously, 'all values' actually didn't get all of the environmental values, and therefore even though the results were correct, the numbers displayed in environmentaData[0] and environmentalData[1] were incorrect.

Switched over to using an api_view to get the min and max values.