From 951243fe575dac431e16226f2a51fcad89a901e3 Mon Sep 17 00:00:00 2001
From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com>
Date: Mon, 12 Sep 2022 23:32:52 +0200
Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?=
=?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B1=D0=B0=D0=B3=D0=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/index.html | 2 +-
src/App.svelte | 2 +-
src/widgets/Chart.svelte | 4 +++-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/public/index.html b/public/index.html
index 276db14..c3c286b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,7 +4,7 @@
-
IoT Manager 4.2.6
+ IoT Manager 4.2.7
diff --git a/src/App.svelte b/src/App.svelte
index 3c24a93..5e0fa3f 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -38,7 +38,7 @@
let updatingTimeout = 80000;
let opened = false;
let preventMove = false;
- let devMode = true;
+ let devMode = false;
//****************************************************variable section**********************************************************/
//******************************************************************************************************************************/
diff --git a/src/widgets/Chart.svelte b/src/widgets/Chart.svelte
index 37768ea..7e5ad2d 100644
--- a/src/widgets/Chart.svelte
+++ b/src/widgets/Chart.svelte
@@ -43,7 +43,7 @@
console.log("[i]", "collecting chart data to array, topic:", widget.topic);
let incomingDataArr = widget.status;
- //console.log("[i]", "array:", incomingDataArr);
+ console.log("[i]", "array:", incomingDataArr);
collectingDataArray = [...collectingDataArray, ...incomingDataArr];
@@ -82,6 +82,8 @@
function clearCart() {
collectingDataArray = [];
+ labels = [0, 0];
+ values = [0, 0];
datachart = {
labels: [0],
datasets: [