diff --git a/src/components/panels/Settings/DashboardPanel.vue b/src/components/panels/Settings/DashboardPanel.vue
index 01506384..36a2be52 100644
--- a/src/components/panels/Settings/DashboardPanel.vue
+++ b/src/components/panels/Settings/DashboardPanel.vue
@@ -26,6 +26,34 @@
+
+
+
+
+
+
+
+
@@ -55,7 +83,7 @@
return this.$store.state.gui.dashboard.boolTempchart;
},
set(status) {
- return this.$store.dispatch('gui/setSettings', { dashboard: { boolTempchart: status } });
+ return this.$store.dispatch('gui/setSettings', { dashboard: { boolTempchart: status } })
}
},
boolShowConsoleOnDashboard: {
@@ -63,12 +91,33 @@
return this.$store.state.gui.dashboard.boolConsole;
},
set(status) {
- return this.$store.dispatch('gui/setSettings', { dashboard: { boolConsole: status } });
+ return this.$store.dispatch('gui/setSettings', { dashboard: { boolConsole: status } })
+ }
+ },
+ intervalChartUpdate: {
+ get() {
+ return this.$store.state.gui.tempchart.intervalChartUpdate
+ },
+ set(newVal) {
+ if (newVal >= 500) return this.$store.dispatch('gui/setSettings', { gui: { tempchart: { intervalChartUpdate: newVal } } })
+ }
+ },
+ intervalDatasetUpdate: {
+ get() {
+ return this.$store.state.gui.tempchart.intervalDatasetUpdate
+ },
+ set(newVal) {
+ if (newVal >= 500) return this.$store.dispatch('gui/setSettings', { gui: { tempchart: { intervalDatasetUpdate: newVal } } })
}
},
},
methods: {
-
+ blurIntervalDatasetUpdate() {
+ if (this.intervalDatasetUpdate < 500) this.intervalDatasetUpdate = 500
+ },
+ blurIntervalChartUpdate() {
+ if (this.intervalChartUpdate < 500) this.intervalChartUpdate = 500
+ },
}
}
\ No newline at end of file