Skip to content

Instantly share code, notes, and snippets.

@Avotrix
Created June 17, 2020 23:11
airqualitycheck7
//console.log(this.responseText);
if(chartT.series[0].data.length > 40) {
chartT.series[0].addPoint([x, y], true, true, true);
} else {
chartT.series[0].addPoint([x, y], true, false, true) } } };
xhttp.open("GET", "/sensorvalue", true);
xhttp.send(); }, 2000 ) ;
</script>
</html>)rawliteral";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment