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: [