+ ")");

			// Add the data rows from the JSON object:
			var locationName = deviceData.location;
			var updatedAt = deviceData.updated;
			// Chart data arrays
			var dataCategories = [];
			var dataAirPressureAtSeaLevel = [];
			var dataAirTemperature = [];
			var dataPrecipitationAmount = [];
			var dataProbabilityOfPrecipitation = [];
			var dataWindSpeed = [];
			//time, air_pressure_at_sea_level, air_temperature, precipitation_amount, wind_speed
			deviceData.result.forEach(function(dataP