updated webpages

This commit is contained in:
2016-03-28 01:43:26 +02:00
parent 04087f80de
commit abf135da4e
16 changed files with 108 additions and 3280 deletions
+6 -6
View File
@@ -1513,7 +1513,7 @@ var Chartist = {
};
constr.prototype = proto;
constr.super = superProto;
constr['super'] = superProto;
constr.extend = this.extend;
return constr;
@@ -2860,7 +2860,7 @@ var Chartist = {
max: this.bounds.max
};
Chartist.AutoScaleAxis.super.constructor.call(this,
Chartist.AutoScaleAxis['super'].constructor.call(this,
axisUnit,
chartRect,
this.bounds.values,
@@ -2914,7 +2914,7 @@ var Chartist = {
max: highLow.high
};
Chartist.FixedScaleAxis.super.constructor.call(this,
Chartist.FixedScaleAxis['super'].constructor.call(this,
axisUnit,
chartRect,
this.ticks,
@@ -2953,7 +2953,7 @@ var Chartist = {
'use strict';
function StepAxis(axisUnit, data, chartRect, options) {
Chartist.StepAxis.super.constructor.call(this,
Chartist.StepAxis['super'].constructor.call(this,
axisUnit,
chartRect,
options.ticks,
@@ -3368,7 +3368,7 @@ var Chartist = {
*
*/
function Line(query, data, options, responsiveOptions) {
Chartist.Line.super.constructor.call(this,
Chartist.Line['super'].constructor.call(this,
query,
data,
defaultOptions,
@@ -3798,7 +3798,7 @@ var Chartist = {
*
*/
function Bar(query, data, options, responsiveOptions) {
Chartist.Bar.super.constructor.call(this,
Chartist.Bar['super'].constructor.call(this,
query,
data,
defaultOptions,
+6 -1
View File
@@ -81,10 +81,15 @@ var wfm = (function () {
}
wfm.init = function() {
// var resp = {
// "samples": [1878, 1883, 1887, 1897, 1906, 1915, 1926, 1940, 1955, 1970, 1982, 1996, 2012, 2026, 2038, 2049],
// "success": true
// };
$('#load').on('click', function() {
var samples = $('#count').val();
$().get('http://192.168.1.13/api/raw.json?count='+samples, onRxData, true, true);
$().get('http://192.168.1.13/api/raw.json?n='+samples, onRxData, true, true);
});
};