Added battery to the log graph.

Sun, 12 Jan 2020 12:12:59 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 12 Jan 2020 12:12:59 +0100
changeset 591
28738f44d42e
parent 590
a43b8b85d8b3
child 592
56f9be07906a

Added battery to the log graph.

www/js/log_ispindel.js file | annotate | diff | comparison | revisions
--- a/www/js/log_ispindel.js	Sat Jan 11 11:33:00 2020 +0100
+++ b/www/js/log_ispindel.js	Sun Jan 12 12:12:59 2020 +0100
@@ -84,8 +84,13 @@
    },
    {
     type: 'spline',
-    valueAxis: { displayValueAxis: false, description: 'Graden C' },
-    series: [{ dataField: 'temperature', lineWidth: 1, displayText: 'Temperatuur' }]
+    valueAxis: { displayValueAxis: false, description: 'Temperatuur °C' },
+    series: [{ dataField: 'temperature', lineWidth: 1, displayText: '°C' }]
+   },
+   {
+    type: 'spline',
+    valueAxis: { visible: false },
+    series: [{ dataField: 'battery', lineWidth: 1, displayText: 'Batterij' }]
    }
   ]
  };

mercurial