show versions of code and data
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user