summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-07-27 13:02:34 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-07-27 13:02:34 +0300
commitae84d2078d0076611b4d2ce78fc1084a38038e1c (patch)
tree13026247ea24eda0a57fcf6385becfb266984151
parentd71cfa8e7748a994c19ff49c88ba303a8f2389e8 (diff)
downloadwebui-vue-ae84d2078d0076611b4d2ce78fc1084a38038e1c.tar.xz
fx fan chart
-rw-r--r--src/components/_sila/Global/Chart.vue30
-rw-r--r--src/views/_sila/Fans/Dynamic/FanSpeed.vue2
2 files changed, 18 insertions, 14 deletions
diff --git a/src/components/_sila/Global/Chart.vue b/src/components/_sila/Global/Chart.vue
index 1cb6f11c..3622e76f 100644
--- a/src/components/_sila/Global/Chart.vue
+++ b/src/components/_sila/Global/Chart.vue
@@ -209,20 +209,24 @@ export default {
this.categories = this.setSpeed(4000);
this.minRange = 4000;
this.minTickInterval = 1000;
- this.plotBands = [
- {
- color: '#F0AC0C1A',
- dashStyle: 'solid',
- from: this.notNormal,
- to: this.critical,
- },
- {
- color: '#FF41411A',
- dashStyle: 'solid',
- from: this.critical,
- to: this.warning,
+ this.plotLines.push({
+ color: '#1A3E5B',
+ dashStyle: 'solid',
+ value: this.shutdown,
+ width: 2,
+ label: {
+ text: 'Пороговое значения отказ',
+ align: 'right',
+ style: {
+ fontFamily: 'Inter',
+ fontSize: '12px',
+ fontStyle: 'normal',
+ fontWeight: '400',
+ lineHeight: '16px',
+ color: '#0C1C2999',
+ },
},
- ];
+ });
break;
case 'memory':
this.categories = this.setCategories(101, 'С°');
diff --git a/src/views/_sila/Fans/Dynamic/FanSpeed.vue b/src/views/_sila/Fans/Dynamic/FanSpeed.vue
index b597db8a..ba6e6c82 100644
--- a/src/views/_sila/Fans/Dynamic/FanSpeed.vue
+++ b/src/views/_sila/Fans/Dynamic/FanSpeed.vue
@@ -92,7 +92,7 @@ export default {
},
data() {
return {
- warning: 72,
+ warning: 2450,
shutdown: 3150,
fields: [
{