show versions of code and data

This commit is contained in:
2021-07-25 18:47:11 +03:00
parent 287f928f68
commit e695930268
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>My first Chartist Tests</title>
<title>Fan control</title>
<link rel="stylesheet" href="chartist.min.css.gz">
<style>
.ct-chart{
@ -26,7 +26,7 @@
<div class="ct-chart chart2"></div>
</div>
<div class="right">
<h1> Log </h1>
<h1> Log 1.0.1 </h1>
<div id="log"></div>
</div>
<script >
@ -37,7 +37,7 @@
if (this.readyState == 4 && this.status == 200) {
var series = JSON.parse(this.responseText);
var data = { series: series };
chart = new Chartist.Line(clazz, data , {high: 30 , low: -25});
chart = new Chartist.Line(clazz, data , {});
}
}
xhttp.open("GET", url, true);