fixed height on charts master
fixed height on charts

file:a/index.js -> file:b/index.js
--- a/index.js
+++ b/index.js
@@ -25,7 +25,8 @@
                 "template": "template-3",
                 "icon": "fa fa-server",
                 "class": "bg-green",
-                "order": 100
+                "order": 100,
+                "height": 100
             };
             client.publish(appOptions.prefix + appOptions.device + "/hdd" + line + "/config", JSON.stringify(message), {qos: 1, retain: 0});
         }
@@ -48,7 +49,8 @@
             "template": "template-3",
             "icon": "fa fa-server",
             "class": "bg-green",
-            "order": 300
+            "order": 300,
+            "height": 100
         };
         client.publish(appOptions.prefix + appOptions.device + "/ram/config", JSON.stringify(message), {qos: 1, retain: 0});
     });
@@ -69,7 +71,8 @@
             "template": "template-3",
             "icon": "fa fa-server",
             "class": "bg-green",
-            "order": 400
+            "order": 400,
+            "height": 100
         };
         client.publish(appOptions.prefix + appOptions.device + "/swap/config", JSON.stringify(message), {qos: 1, retain: 0});
     });
@@ -86,7 +89,8 @@
             "template": "template-3",
             "icon": "fa fa-server",
             "class": "bg-green",
-            "order": 20
+            "order": 20,
+            "height": 100
         };
         client.publish(appOptions.prefix + appOptions.device + "/uptime/config", JSON.stringify(message), {qos: 1, retain: 0});
     });
@@ -111,7 +115,8 @@
             "template": "template-3",
             "icon": "fa fa-server",
             "class": color,
-            "order": 10
+            "order": 10,
+            "height": 100
         };
         client.publish(appOptions.prefix + appOptions.device + "/sysload/config", JSON.stringify(message), {qos: 1, retain: 0});
     });
@@ -136,7 +141,8 @@
             "template": "template-3",
             "icon": "fa fa-server",
             "class": color,
-            "order": 30
+            "order": 30,
+            "height": 100
         };
         client.publish(appOptions.prefix + appOptions.device + "/postqueue/config", JSON.stringify(message), {qos: 1, retain: 0});
     });
@@ -153,7 +159,8 @@
             "template": "template-3",
             "icon": "fa fa-server",
             "class": "bg-green",
-            "order": 60
+            "order": 60,
+            "height": 100
         };
         client.publish(appOptions.prefix + appOptions.device + "/users/config", JSON.stringify(message), {qos: 1, retain: 0});
     });

--- a/iotcc-server-monitoring.sh
+++ b/iotcc-server-monitoring.sh

comments