From bd350a82aa91bec36ceff8f0cebdb59e8ee055ed Mon Sep 17 00:00:00 2001 From: MRsagi <54143854+MRsagi@users.noreply.github.com> Date: Thu, 15 Aug 2019 17:21:03 +0300 Subject: [PATCH] Update temperature.js --- temperature.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/temperature.js b/temperature.js index 394b192..c7dbeba 100644 --- a/temperature.js +++ b/temperature.js @@ -1,7 +1,7 @@ window.onload = function () { resize_canvas() - var chart = new SmoothieChart({, millisPerPixel: 200, maxValueScale: 1.1, minValueScale: 1.1, scaleSmoothing: 0.1, grid: { fillStyle: '#ffffff', millisPerLine: 5000, verticalSections: 8 }, labels: { fillStyle: '#0000ff', fontSize: 18, precision: 1 }, timestampFormatter: SmoothieChart.timeFormatter }), + var chart = new SmoothieChart({millisPerPixel: 200, maxValueScale: 1.1, minValueScale: 1.1, scaleSmoothing: 0.1, grid: { fillStyle: '#ffffff', millisPerLine: 5000, verticalSections: 8 }, labels: { fillStyle: '#0000ff', fontSize: 18, precision: 1 }, timestampFormatter: SmoothieChart.timeFormatter }), canvas = document.getElementById('smoothie-chart'), series = new TimeSeries(); average_array = [] @@ -39,4 +39,4 @@ function average(array) { sum = sum + array[i]; } return sum / count; - } \ No newline at end of file + }