diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-27 13:02:34 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-27 13:02:34 +0300 |
commit | ae84d2078d0076611b4d2ce78fc1084a38038e1c (patch) | |
tree | 13026247ea24eda0a57fcf6385becfb266984151 /src/components/_sila/Global | |
parent | d71cfa8e7748a994c19ff49c88ba303a8f2389e8 (diff) | |
download | webui-vue-ae84d2078d0076611b4d2ce78fc1084a38038e1c.tar.xz |
fx fan chart
Diffstat (limited to 'src/components/_sila/Global')
-rw-r--r-- | src/components/_sila/Global/Chart.vue | 30 |
1 files changed, 17 insertions, 13 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, 'С°'); |