summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-07-25 12:05:20 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-07-25 12:05:20 +0300
commitdb0bf7d5f895fc01de541f72f4eea84aaf175d5a (patch)
tree7e3a2410672f3ac7870016ea940b945d4dbad595 /src/components
parentb9eab2b357a8842482f25e2065f8832d5cf37218 (diff)
downloadwebui-vue-db0bf7d5f895fc01de541f72f4eea84aaf175d5a.tar.xz
add areas, dynamic
Diffstat (limited to 'src/components')
-rw-r--r--src/components/_sila/Global/Chart.vue14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/_sila/Global/Chart.vue b/src/components/_sila/Global/Chart.vue
index d24aad72..d17a5042 100644
--- a/src/components/_sila/Global/Chart.vue
+++ b/src/components/_sila/Global/Chart.vue
@@ -246,6 +246,20 @@ export default {
this.categories = this.setCategories(101, 'С°');
this.yMax = 100;
this.minTickInterval = 25;
+ this.plotBands = [
+ {
+ color: '#F0AC0C1A',
+ dashStyle: 'solid',
+ from: this.nonNormal,
+ to: this.criticalStart,
+ },
+ {
+ color: '#FF41411A',
+ dashStyle: 'solid',
+ from: this.criticalStart,
+ to: this.warning,
+ },
+ ];
break;
case 'motherboard':
this.categories = this.setCategories(101, 'С°');