mirror of
https://github.com/bobwen-dev/cockpit-temperature-plugin
synced 2025-04-11 22:56:08 +02:00
Update temperature.js
This commit is contained in:
parent
5d157e2d6d
commit
bd350a82aa
@ -1,7 +1,7 @@
|
|||||||
window.onload = function () {
|
window.onload = function () {
|
||||||
resize_canvas()
|
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'),
|
canvas = document.getElementById('smoothie-chart'),
|
||||||
series = new TimeSeries();
|
series = new TimeSeries();
|
||||||
average_array = []
|
average_array = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user